Class ServerMappingContainer


  • public class ServerMappingContainer
    extends java.lang.Object
    Class that contains the mapping between a server-address/configuration and channel.
    • Constructor Detail

      • ServerMappingContainer

        public ServerMappingContainer​(Channel channel,
                                      ServerMapping serverMapping)
    • Method Detail

      • getServerMapping

        public ServerMapping getServerMapping()
        The serverMapping that the channel should be mapped to.
        Returns:
        the serverAddress
      • getChannel

        public Channel getChannel()
        The mapped Channel
        Returns:
        the channel
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object