|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface NioTcpServer.ConnectionHandler
Represents a TCP connection to a remote peer (e.g. a server or a client).
handleConnection(ReadableByteChannel, WritableByteChannel, InetSocketAddress, InetSocketAddress,
Multiplexer, Stoppable)| Method Summary | |
|---|---|
void |
handleConnection(java.nio.channels.ReadableByteChannel in,
java.nio.channels.WritableByteChannel out,
java.net.InetSocketAddress localSocketAddress,
java.net.InetSocketAddress remoteSocketAddress,
Multiplexer multiplexer,
Stoppable stoppable)
A connection was accepted; use the multiplexer to wait until in, out or some
other SelectableChannel becomes readable or writable. |
| Method Detail |
|---|
void handleConnection(java.nio.channels.ReadableByteChannel in,
java.nio.channels.WritableByteChannel out,
java.net.InetSocketAddress localSocketAddress,
java.net.InetSocketAddress remoteSocketAddress,
Multiplexer multiplexer,
Stoppable stoppable)
throws java.lang.Exception
multiplexer to wait until in, out or some
other SelectableChannel becomes readable or writable.
stoppable - Stopping this will break the connection
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||