Class: IControl::System::ConnectionInformation
- Inherits:
-
Base::Struct
- Object
- Base::Struct
- IControl::System::ConnectionInformation
- Defined in:
- lib/icontrol/system.rb,
lib/icontrol/system.rb
Overview
Connection information for the system. This contains the local and remote addresses used to connect to the system when using a method that returns this structure. Normally a client would know the "local“ address on which it connected to the system, but if network translation changes the destination address of the system, this method can inform the client of the translation without the client having to code the mapping. This is designed to address the scenario in which the system is behind a virtual address or similar and the client needs to learn, for example, whether an address matches the cluster address.
Instance Attribute Summary collapse
-
#local ⇒ IControl::Common::IPPortDefinition
The address and port on which the system was contacted.
-
#remote ⇒ IControl::Common::IPPortDefinition
The address and port of the client.
Instance Attribute Details
#local ⇒ IControl::Common::IPPortDefinition
The address and port on which the system was contacted.
152 153 154 |
# File 'lib/icontrol/system.rb', line 152 def local @local end |
#remote ⇒ IControl::Common::IPPortDefinition
The address and port of the client.
152 153 154 |
# File 'lib/icontrol/system.rb', line 152 def remote @remote end |