seda.sandStorm.lib.aSocket
Class ListenSockState
java.lang.Object
seda.sandStorm.lib.aSocket.ListenSockState
- Direct Known Subclasses:
- ListenSockState, ListenSockState
public abstract class ListenSockState
- extends java.lang.Object
Internal class used to represent a server socket listening on a
given port.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
private static final boolean DEBUG
- See Also:
- Constant Field Values
num_connections
protected static int num_connections
servsock
protected ATcpServerSocket servsock
port
protected int port
compQ
protected SinkIF compQ
writeClogThreshold
protected int writeClogThreshold
ListenSockState
public ListenSockState()
getLocalPort
protected abstract int getLocalPort()
accept
protected abstract java.net.Socket accept()
throws java.io.IOException
- Throws:
java.io.IOException
suspend
protected abstract void suspend()
resume
protected abstract void resume()
close
protected abstract void close()
complete
protected abstract void complete(ATcpConnection conn)