public static interface TcpServer.ConnectionHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handleConnection(InputStream in,
OutputStream out,
InetSocketAddress localSocketAddress,
InetSocketAddress remoteSocketAddress,
Stoppable stoppable)
The input stream is readable; consume and process one request from it.
|
void handleConnection(InputStream in, OutputStream out, InetSocketAddress localSocketAddress, InetSocketAddress remoteSocketAddress, Stoppable stoppable) throws Exception
stoppable - Stopping this will break the connectionExceptionCopyright © 2016 Arno Unkrig. All rights reserved.