org.eclipse.net4j.util.om.trace
Class RemoteTraceServer
java.lang.Object
org.eclipse.net4j.util.om.trace.RemoteTraceServer
public class RemoteTraceServer
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ADDRESS
public static final java.lang.String DEFAULT_ADDRESS
- See Also:
- Constant Field Values
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
ANY_PORT
public static final int ANY_PORT
- See Also:
- Constant Field Values
RemoteTraceServer
public RemoteTraceServer()
throws java.io.IOException
- Throws:
java.io.IOException
RemoteTraceServer
public RemoteTraceServer(int port)
throws java.io.IOException
- Throws:
java.io.IOException
RemoteTraceServer
public RemoteTraceServer(int port,
java.lang.String address)
throws java.io.IOException
- Throws:
java.io.IOException
addListener
public void addListener(RemoteTraceServer.Listener listener)
removeListener
public void removeListener(RemoteTraceServer.Listener listener)
close
public java.lang.Exception close()
bind
protected java.net.ServerSocket bind()
throws java.io.IOException
- Throws:
java.io.IOException
handleConnections
protected void handleConnections()
handleSession
protected void handleSession(java.net.Socket socket)
handleTrace
protected void handleTrace(java.io.DataInputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
fireEvent
protected void fireEvent(RemoteTraceServer.Event event)