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

@UnstableApi 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

    Fields
    Modifier and Type
    Field
    Description
    static final short
     
    static final io.netty.util.AttributeKey<Supplier<PeersList>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    DrasylNodeServerChannelInitializer(DrasylConfig config, Identity identity, DrasylNode node, io.netty.channel.EventLoopGroup udpServerGroup)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MIN_DERIVED_PORT

      public static final short MIN_DERIVED_PORT
      See Also:
    • PEERS_LIST_SUPPLIER_KEY

      public static final io.netty.util.AttributeKey<Supplier<PeersList>> PEERS_LIST_SUPPLIER_KEY
  • Constructor Details

    • DrasylNodeServerChannelInitializer

      public DrasylNodeServerChannelInitializer(DrasylConfig config, Identity identity, DrasylNode node, io.netty.channel.EventLoopGroup udpServerGroup)
  • Method Details