IN - The type that will be received by this serverOUT - The type that will be sent by this serverpublic abstract class TcpServer<IN,OUT> extends ReactorPeer<IN,OUT,ChannelStream<IN,OUT>>
| Modifier and Type | Field and Description |
|---|---|
protected java.net.InetSocketAddress |
listenAddress |
started| Modifier | Constructor and Description |
|---|---|
protected |
TcpServer(reactor.Environment env,
reactor.core.Dispatcher dispatcher,
java.net.InetSocketAddress listenAddress,
ServerSocketOptions options,
SslOptions sslOptions,
reactor.io.codec.Codec<reactor.io.buffer.Buffer,IN,OUT> codec) |
| Modifier and Type | Method and Description |
|---|---|
java.net.InetSocketAddress |
getListenAddress()
Get the address to which this server is bound.
|
protected ServerSocketOptions |
getOptions()
Get the
ServerSocketOptions currently in effect. |
protected SslOptions |
getSslOptions()
Get the
SslOptions current in effect. |
doShutdown, doStart, getDefaultCodec, getDefaultDispatcher, getDefaultEnvironment, getDefaultPrefetchSize, shutdown, startprotected TcpServer(reactor.Environment env,
reactor.core.Dispatcher dispatcher,
java.net.InetSocketAddress listenAddress,
ServerSocketOptions options,
SslOptions sslOptions,
reactor.io.codec.Codec<reactor.io.buffer.Buffer,IN,OUT> codec)
public java.net.InetSocketAddress getListenAddress()
protected ServerSocketOptions getOptions()
ServerSocketOptions currently in effect.protected SslOptions getSslOptions()
SslOptions current in effect.