
public class RemoteTraceHandler extends Object implements OMTraceHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_HOST |
static int |
DEFAULT_PORT |
| Constructor and Description |
|---|
RemoteTraceHandler() |
RemoteTraceHandler(String agentID) |
RemoteTraceHandler(String agentID,
String host) |
RemoteTraceHandler(String agentID,
String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
Exception |
close() |
protected Socket |
connect() |
void |
traced(OMTraceHandlerEvent event) |
static String |
uniqueAgentID() |
protected void |
writeUTF(DataOutputStream out,
String str) |
public static final String DEFAULT_HOST
public static final int DEFAULT_PORT
public RemoteTraceHandler()
throws IOException
IOExceptionpublic RemoteTraceHandler(String agentID) throws IOException
IOExceptionpublic RemoteTraceHandler(String agentID, String host) throws IOException
IOExceptionpublic RemoteTraceHandler(String agentID, String host, int port) throws IOException
IOExceptionpublic Exception close()
public void traced(OMTraceHandlerEvent event)
traced in interface OMTraceHandlerprotected Socket connect() throws IOException
IOExceptionprotected void writeUTF(DataOutputStream out, String str) throws IOException
IOExceptionpublic static String uniqueAgentID()
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.