IN - The type that will be received by this clientOUT - The type that will be sent by this clientpublic abstract class TcpClient<IN,OUT> extends ReactorClient<IN,OUT,ChannelStream<IN,OUT>>
| Modifier and Type | Field and Description |
|---|---|
protected reactor.fn.Supplier<java.net.InetSocketAddress> |
connectAddress |
PINGstarted| Modifier | Constructor and Description |
|---|---|
protected |
TcpClient(reactor.Environment env,
reactor.core.Dispatcher dispatcher,
reactor.fn.Supplier<java.net.InetSocketAddress> connectAddress,
ClientSocketOptions options,
SslOptions sslOptions,
reactor.io.codec.Codec<reactor.io.buffer.Buffer,IN,OUT> codec) |
| Modifier and Type | Method and Description |
|---|---|
java.net.InetSocketAddress |
getConnectAddress()
Get the
InetSocketAddress to which this client must connect. |
protected ClientSocketOptions |
getOptions()
Get the
ClientSocketOptions currently in effect. |
protected SslOptions |
getSslOptions()
Get the
SslOptions current in effect. |
doStart, startdoShutdown, doStart, getDefaultCodec, getDefaultDispatcher, getDefaultEnvironment, getDefaultPrefetchSize, shutdown, startprotected final reactor.fn.Supplier<java.net.InetSocketAddress> connectAddress
protected TcpClient(reactor.Environment env,
reactor.core.Dispatcher dispatcher,
reactor.fn.Supplier<java.net.InetSocketAddress> connectAddress,
ClientSocketOptions options,
SslOptions sslOptions,
reactor.io.codec.Codec<reactor.io.buffer.Buffer,IN,OUT> codec)
public java.net.InetSocketAddress getConnectAddress()
InetSocketAddress to which this client must connect.protected ClientSocketOptions getOptions()
ClientSocketOptions currently in effect.protected SslOptions getSslOptions()
SslOptions current in effect.