public static interface NioTcpServer.ConnectionHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handleConnection(ReadableByteChannel in,
WritableByteChannel out,
InetSocketAddress localSocketAddress,
InetSocketAddress remoteSocketAddress,
Multiplexer multiplexer,
de.unkrig.commons.lang.protocol.Stoppable stoppable)
A connection was accepted; use the multiplexer to wait until in, out or some
other
SelectableChannel becomes readable or writable. |
void handleConnection(ReadableByteChannel in, WritableByteChannel out, InetSocketAddress localSocketAddress, InetSocketAddress remoteSocketAddress, Multiplexer multiplexer, de.unkrig.commons.lang.protocol.Stoppable stoppable) throws Exception
SelectableChannel becomes readable or writable.stoppable - Stopping this will break the connectionExceptionCopyright © 2018 Arno Unkrig. All rights reserved.