public class InterceptingTcpClientImpl<W,R> extends InterceptingTcpClient<W,R>
Constructor and Description |
---|
InterceptingTcpClientImpl(io.reactivex.netty.client.ConnectionProvider<W,R> cp,
TcpClientEventPublisher ep) |
Modifier and Type | Method and Description |
---|---|
io.reactivex.netty.client.ConnectionRequest<W,R> |
createConnectionRequest()
Creates a new
ConnectionRequest which should be subscribed to actually connect to the target server. |
TcpClientInterceptorChain<W,R> |
intercept()
Starts the process of adding interceptors to this client.
|
rx.Subscription |
subscribe(TcpClientEventListener listener) |
public InterceptingTcpClientImpl(io.reactivex.netty.client.ConnectionProvider<W,R> cp, TcpClientEventPublisher ep)
public io.reactivex.netty.client.ConnectionRequest<W,R> createConnectionRequest()
InterceptingTcpClient
ConnectionRequest
which should be subscribed to actually connect to the target server.createConnectionRequest
in class InterceptingTcpClient<W,R>
ConnectionRequest
which either can be subscribed directly or altered in various ways
before subscription.public TcpClientInterceptorChain<W,R> intercept()
InterceptingTcpClient
intercept
in class InterceptingTcpClient<W,R>
public rx.Subscription subscribe(TcpClientEventListener listener)