More information: http://www.cs.berkeley.edu/~mdw/proj/seda/

seda.sandStorm.lib.aSocket
Class ListenSockState

java.lang.Object
  |
  +--seda.sandStorm.lib.aSocket.ListenSockState

public abstract class ListenSockState
extends java.lang.Object

Internal class used to represent a server socket listening on a given port.


Field Summary
protected  SinkIF compQ
           
protected static int num_connections
           
protected  int port
           
protected  ATcpServerSocket servsock
           
protected  int writeClogThreshold
           
 
Constructor Summary
ListenSockState()
           
 
Method Summary
protected abstract  java.net.Socket accept()
           
protected abstract  void close()
           
protected abstract  void complete(ATcpConnection conn)
           
protected abstract  int getLocalPort()
           
protected abstract  void resume()
           
protected abstract  void suspend()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

num_connections

protected static int num_connections

servsock

protected ATcpServerSocket servsock

port

protected int port

compQ

protected SinkIF compQ

writeClogThreshold

protected int writeClogThreshold
Constructor Detail

ListenSockState

public ListenSockState()
Method Detail

getLocalPort

protected abstract int getLocalPort()

accept

protected abstract java.net.Socket accept()
                                   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)

More information: http://www.cs.berkeley.edu/~mdw/proj/seda/