org.eclipse.net4j.util.om.trace
Class RemoteTraceHandler
java.lang.Object
org.eclipse.net4j.util.om.trace.RemoteTraceHandler
- All Implemented Interfaces:
- OMTraceHandler
- public class RemoteTraceHandler
- extends Object
- implements OMTraceHandler
A trace handler
that sends trace events
to a remote trace server
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_HOST
public static final String DEFAULT_HOST
- See Also:
- Constant Field Values
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
RemoteTraceHandler
public RemoteTraceHandler()
throws IOException
- Throws:
IOException
RemoteTraceHandler
public RemoteTraceHandler(String agentID)
throws IOException
- Throws:
IOException
RemoteTraceHandler
public RemoteTraceHandler(String agentID,
String host)
throws IOException
- Throws:
IOException
RemoteTraceHandler
public RemoteTraceHandler(String agentID,
String host,
int port)
throws IOException
- Throws:
IOException
close
public Exception close()
traced
public void traced(OMTraceHandlerEvent event)
- Specified by:
traced
in interface OMTraceHandler
connect
protected Socket connect()
throws IOException
- Throws:
IOException
writeUTF
protected void writeUTF(DataOutputStream out,
String str)
throws IOException
- Throws:
IOException
uniqueAgentID
public static String uniqueAgentID()
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.