Class ClientConnector.Configurator.ChannelWithAddress

  • Enclosing class:
    ClientConnector.Configurator

    public static class ClientConnector.Configurator.ChannelWithAddress
    extends java.lang.Object

    A pair/record holding a SelectableChannel and a SocketAddress to connect to.

    • Constructor Summary

      Constructors 
      Constructor Description
      ChannelWithAddress​(java.nio.channels.SelectableChannel channel, java.net.SocketAddress address)  
    • Constructor Detail

      • ChannelWithAddress

        public ChannelWithAddress​(java.nio.channels.SelectableChannel channel,
                                  java.net.SocketAddress address)
    • Method Detail

      • getSelectableChannel

        public java.nio.channels.SelectableChannel getSelectableChannel()
      • getSocketAddress

        public java.net.SocketAddress getSocketAddress()