public abstract class RakNet<T extends NetworkSession<RakNetSession>>
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.DatagramChannel>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
RakNet.Builder<T extends NetworkSession<RakNetSession>> |
| Modifier | Constructor and Description |
|---|---|
protected |
RakNet(SessionManager<T> sessionManager,
RakNetPacketRegistry<T> packetRegistry,
SessionFactory<T,RakNetSession> sessionFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected io.netty.bootstrap.Bootstrap |
getBootstrap() |
protected void |
initChannel(io.netty.channel.socket.DatagramChannel channel) |
protected abstract void |
initPipeline(io.netty.channel.ChannelPipeline pipeline) |
channelRegistered, exceptionCaught, handlerAddedchannelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerRemoved, isSharableprotected RakNet(SessionManager<T> sessionManager, RakNetPacketRegistry<T> packetRegistry, SessionFactory<T,RakNetSession> sessionFactory)
protected io.netty.bootstrap.Bootstrap getBootstrap()
protected final void initChannel(io.netty.channel.socket.DatagramChannel channel)
throws Exception
initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.DatagramChannel>ExceptionCopyright © 2018. All rights reserved.