Class TimeoutEnabledChannelInitializer<C extends ProtocolServerConfiguration>

  • All Implemented Interfaces:
    NettyInitializer

    public class TimeoutEnabledChannelInitializer<C extends ProtocolServerConfiguration>
    extends java.lang.Object
    implements NettyInitializer
    A channel pipeline factory for environments where idle timeout is enabled. This is a trait, useful to extend by an implementation channel initializer.
    Since:
    5.1
    Author:
    Galder ZamarreƱo, William Burns
    • Constructor Detail

      • TimeoutEnabledChannelInitializer

        public TimeoutEnabledChannelInitializer​(ProtocolServer<C> hotRodServer)
    • Method Detail

      • initializeChannel

        public void initializeChannel​(io.netty.channel.Channel ch)
                               throws java.lang.Exception
        Description copied from interface: NettyInitializer
        Initialize netty channel
        Specified by:
        initializeChannel in interface NettyInitializer
        Throws:
        java.lang.Exception