Package org.openmuc.framework.server.spi
Class ServerMappingContainer
- java.lang.Object
-
- org.openmuc.framework.server.spi.ServerMappingContainer
-
public class ServerMappingContainer extends java.lang.Object
Class that contains the mapping between a server-address/configuration and channel.
-
-
Constructor Summary
Constructors Constructor Description ServerMappingContainer(Channel channel, ServerMapping serverMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Channel
getChannel()
The mapped ChannelServerMapping
getServerMapping()
The serverMapping that the channel should be mapped to.java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
-