|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface SocketInterface.TcpServerSocketInterface
Defines the interface for TcpServerSocket specific implementation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jist.swans.trans.SocketInterface |
---|
SocketInterface.TcpServerSocketInterface, SocketInterface.TcpSocketInterface |
Method Summary | |
---|---|
TcpSocket |
accept()
Listens for a connection to be made to this socket and accepts it. |
void |
bind(java.net.SocketAddress endpoint,
int backlog)
Binds the ServerSocket to a specific address (IP address and port number). |
java.nio.channels.ServerSocketChannel |
getChannel()
Returns the unique ServerSocketChannel object associated with this socket, if any. |
Methods inherited from interface jist.swans.trans.SocketInterface |
---|
_jistPostInit, bind, checkPacketandState, close, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, isBound, isClosed, setReceiveBufferSize, setReuseAddress, setSoTimeout, setTcpEntity, toString |
Method Detail |
---|
TcpSocket accept() throws JistAPI.Continuation
JistAPI.Continuation
- never; blocking event.void bind(java.net.SocketAddress endpoint, int backlog) throws JistAPI.Continuation
endpoint
- The IP address & port number to bind to.backlog
- The listen backlog length.
JistAPI.Continuation
- never; blocking event.java.nio.channels.ServerSocketChannel getChannel() throws JistAPI.Continuation
JistAPI.Continuation
- never; blocking event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |