public final class CloudNetServer extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel> implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
private io.netty.channel.EventLoopGroup |
bossGroup |
private io.netty.handler.ssl.SslContext |
sslContext |
private io.netty.channel.EventLoopGroup |
workerGroup |
| Constructor and Description |
|---|
CloudNetServer(joptsimple.OptionSet optionSet,
de.dytanic.cloudnet.lib.ConnectableAddress connectableAddress) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
io.netty.channel.EventLoopGroup |
getBossGroup() |
io.netty.handler.ssl.SslContext |
getSslContext() |
io.netty.channel.EventLoopGroup |
getWorkerGroup() |
protected void |
initChannel(io.netty.channel.Channel channel) |
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedprivate io.netty.handler.ssl.SslContext sslContext
private io.netty.channel.EventLoopGroup workerGroup
private io.netty.channel.EventLoopGroup bossGroup
public CloudNetServer(joptsimple.OptionSet optionSet,
de.dytanic.cloudnet.lib.ConnectableAddress connectableAddress)
public io.netty.handler.ssl.SslContext getSslContext()
public io.netty.channel.EventLoopGroup getWorkerGroup()
public io.netty.channel.EventLoopGroup getBossGroup()
public void close()
close in interface AutoCloseableprotected void initChannel(io.netty.channel.Channel channel)
initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.Channel>Copyright © 2020. All rights reserved.