Class ServerChannelInitializer
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
org.drasyl.peer.connection.DefaultSessionInitializer
org.drasyl.peer.connection.server.ServerChannelInitializer
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
- Direct Known Subclasses:
DefaultServerChannelInitializer
Creates a newly configured
ChannelPipeline
for every incoming connection to a node
server.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Field Summary
Fields inherited from class org.drasyl.peer.connection.DefaultSessionInitializer
IDLE_EVENT
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ServerChannelInitializer
(int networkId, Identity identity, int flushBufferSize, Duration readIdleTimeout, short pingPongRetries) -
Method Summary
Methods inherited from class org.drasyl.peer.connection.DefaultSessionInitializer
afterBufferStage, afterExceptionStage, afterFilterStage, afterIdleStage, afterMarshalStage, afterPojoMarshalStage, afterSslStage, beforeBufferStage, beforeExceptionStage, beforeFilterStage, beforeIdleStage, beforeMarshalStage, beforePojoMarshalStage, beforeSslStage, bufferStage, customStage, exceptionStage, filterStage, generateSslContext, idleStage, initChannel, marshalStage, pojoMarshalStage, sslStage
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Constructor Details
-
ServerChannelInitializer
-