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
IOException
public RemoteTraceHandler(String agentID) throws IOException
IOException
public RemoteTraceHandler(String agentID, String host) throws IOException
IOException
public RemoteTraceHandler(String agentID, String host, int port) throws IOException
IOException
public Exception close()
public void traced(OMTraceHandlerEvent event)
traced
in interface OMTraceHandler
protected Socket connect() throws IOException
IOException
protected void writeUTF(DataOutputStream out, String str) throws IOException
IOException
public static String uniqueAgentID()
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.