public class KCPClient extends ReliableClient
io.jpower.kcp:kcp-netty as dependency.bootstrap, channelFuture, channelInitializer| Constructor and Description |
|---|
KCPClient(io.netty.channel.ChannelInitializer<io.netty.channel.Channel> channelInitializer)
Create a new KCP client.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureBootstrap()
Configure the bootstrap channel, event group and options.
|
close, connect, connect, getChannelpublic KCPClient(io.netty.channel.ChannelInitializer<io.netty.channel.Channel> channelInitializer)
channelInitializer - The channel initializer to useprotected void configureBootstrap()
ReliableClientconfigureBootstrap in class ReliableClient