Class UdpChannelInitializer

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

    public class UdpChannelInitializer
    extends ProtocolChannelInitializer<io.netty.channel.socket.DatagramChannel>
    UDP implementation of ChannelInitializer.
    Author:
    michal.polkorab
    • Constructor Detail

      • UdpChannelInitializer

        public UdpChannelInitializer()
    • Method Detail

      • initChannel

        protected void initChannel​(io.netty.channel.socket.DatagramChannel ch)
        Specified by:
        initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.DatagramChannel>