Class TCPNIOBindingHandler

  • All Implemented Interfaces:
    SocketBinder

    public class TCPNIOBindingHandler
    extends AbstractBindingHandler
    This class may be used to apply a custom Processor and/or ProcessorSelector atomically within a bind operation - not something that can normally be done using the TCPNIOTransport alone. Example usage:
     TCPNIOBindingHandler handler = TCPNIOBindingHandler.builder(transport).setProcessor(custom).build();
     handler.bind(socketAddress);
     
    Since:
    2.2.19