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
public abstract class ServerChannelInitializer extends DefaultSessionInitializer
Creates a newly configuredChannelPipeline
for every incoming connection to a node server.
-
-
Field Summary
-
Fields inherited from class org.drasyl.peer.connection.DefaultSessionInitializer
CHUNKED_WRITER, IDLE_EVENT
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ServerChannelInitializer(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
-
-
-
-
Constructor Detail
-
ServerChannelInitializer
protected ServerChannelInitializer(int flushBufferSize, Duration readIdleTimeout, short pingPongRetries)
-
-