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 InetSocketAddress |
listenAddress |
started
Modifier | Constructor and Description |
---|---|
protected |
TcpServer(Environment env,
Dispatcher dispatcher,
InetSocketAddress listenAddress,
ServerSocketOptions options,
SslOptions sslOptions,
Codec<Buffer,IN,OUT> codec) |
Modifier and Type | Method and Description |
---|---|
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, start
protected InetSocketAddress listenAddress
protected TcpServer(Environment env, Dispatcher dispatcher, InetSocketAddress listenAddress, ServerSocketOptions options, SslOptions sslOptions, Codec<Buffer,IN,OUT> codec)
public InetSocketAddress getListenAddress()
protected ServerSocketOptions getOptions()
ServerSocketOptions
currently in effect.protected SslOptions getSslOptions()
SslOptions
current in effect.Copyright © 2017. All rights reserved.