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