Encapsulates the on device network configuration.
More...
#include <DeviceNetworkConfig.h>
Encapsulates the on device network configuration.
◆ DeviceNetworkConfig()
optris::DeviceNetworkConfig::DeviceNetworkConfig |
( |
const IpAddress & | deviceIp, |
|
|
const IpAddress & | destinationIp, |
|
|
const Port & | destinationPort, |
|
|
const IpAddress & | subnetMask ) |
|
inlinenoexcept |
Constructor.
- Parameters
-
[in] | deviceIp | address. |
[in] | destinationIp | address for the device to send data to. |
[in] | destinationPort | for the device to send data to. |
[in] | subnetMask | of the network. |
◆ getDestinationIp()
const IpAddress & optris::DeviceNetworkConfig::getDestinationIp |
( |
| ) |
const |
|
inlinenoexcept |
Returns the IP address to which the device sends its data to.
- Returns
- IP address to which the device sends its data to.
◆ getDestinationPort()
const Port & optris::DeviceNetworkConfig::getDestinationPort |
( |
| ) |
const |
|
inlinenoexcept |
Returns the port to which the device sends its data to.
- Returns
- port to which the device sends its data to.
◆ getDeviceIp()
const IpAddress & optris::DeviceNetworkConfig::getDeviceIp |
( |
| ) |
const |
|
inlinenoexcept |
Returns the IP address of the device.
- Returns
- IP address of the device.
◆ getSubnetMask()
const IpAddress & optris::DeviceNetworkConfig::getSubnetMask |
( |
| ) |
const |
|
inlinenoexcept |
Returns the subnet mask.
- Returns
- subnet mask.
◆ setDestinationIp()
void optris::DeviceNetworkConfig::setDestinationIp |
( |
const IpAddress & | address | ) |
|
|
inlinenoexcept |
Sets the destination IP address to which the device sends its data to.
- Parameters
-
◆ setDestinationPort()
void optris::DeviceNetworkConfig::setDestinationPort |
( |
const Port & | port | ) |
|
|
inlinenoexcept |
Sets the port to which the device sends its data to.
- Parameters
-
◆ setDeviceIp()
void optris::DeviceNetworkConfig::setDeviceIp |
( |
const IpAddress & | address | ) |
|
|
inlinenoexcept |
Sets the device IP address.
- Parameters
-
◆ setSubnetMask()
void optris::DeviceNetworkConfig::setSubnetMask |
( |
const IpAddress & | subnetMask | ) |
|
|
inlinenoexcept |
Sets the subnet mask.
- Parameters
-
The documentation for this class was generated from the following file: