public class TCPServer extends AReliableServer
bootstrap, channelFuture, channelInitializer| Constructor and Description |
|---|
TCPServer(io.netty.channel.ChannelInitializer<io.netty.channel.Channel> channelInitializer)
Create a new TCP server.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureBootstrap()
Configure the bootstrap channel, event group and options.
|
bind, close, getBootstrap, getChannelFuturepublic TCPServer(io.netty.channel.ChannelInitializer<io.netty.channel.Channel> channelInitializer)
channelInitializer - The channel initializer to useprotected void configureBootstrap()
AReliableServerconfigureBootstrap in class AReliableServer