Interface ChannelAcceptor

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ChannelAcceptor
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean accept​(io.netty.channel.Channel channel)
      Inside this method the pipeline should be initialized.
    • Method Detail

      • accept

        boolean accept​(io.netty.channel.Channel channel)
        Inside this method the pipeline should be initialized.
        Parameters:
        channel - the channel to be accepted and initialized
        Returns:
        if the channel was accepted