R
- The type of the object that is read from a new connection.W
- The type of objects that are written to a new connection.public interface ConnectionHandler<R,W>
TcpServer
Modifier and Type | Method and Description |
---|---|
rx.Observable<java.lang.Void> |
handle(io.reactivex.netty.channel.Connection<R,W> newConnection)
Invoked whenever a new connection is established.
|