Package org.drasyl.node.channel
Class DrasylNodeServerChannelInitializer
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<DrasylServerChannel>
org.drasyl.node.channel.DrasylNodeServerChannelInitializer
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
public class DrasylNodeServerChannelInitializer
extends io.netty.channel.ChannelInitializer<DrasylServerChannel>
Initialize the
DrasylServerChannel
used by DrasylNode
.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDrasylNodeServerChannelInitializer
(DrasylConfig config, Identity identity, DrasylNode node, io.netty.channel.nio.NioEventLoopGroup udpServerGroup) -
Method Summary
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
-
Field Details
-
MIN_DERIVED_PORT
public static final short MIN_DERIVED_PORT- See Also:
-
-
Constructor Details
-
DrasylNodeServerChannelInitializer
public DrasylNodeServerChannelInitializer(DrasylConfig config, Identity identity, DrasylNode node, io.netty.channel.nio.NioEventLoopGroup udpServerGroup)
-
-
Method Details
-
initChannel
- Specified by:
initChannel
in classio.netty.channel.ChannelInitializer<DrasylServerChannel>
-