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,
long id,
Map<io.netty.channel.ChannelOption,Object> channelOptions,
ScheduledExecutorService scheduler,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
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, long id, Map<io.netty.channel.ChannelOption,Object> channelOptions, ScheduledExecutorService scheduler, Executor executor)
Copyright © 2018. All rights reserved.