39 const Port& destinationPort,
104 Port _destinationPort;
113 const
Port& destinationPort,
115 : _deviceIp{deviceIp}
116 , _destinationIp{destinationIp}
117 , _destinationPort{destinationPort}
118 , _subnetMask{subnetMask}
128 return _destinationIp;
133 return _destinationPort;
148 _destinationIp = address;
153 _destinationPort = port;
158 _subnetMask = subnetMask;
Contains a class holding IP v4 address.
Contains a class representing an network port.
const IpAddress & getDeviceIp() const noexcept
Returns the IP address of the device.
Definition DeviceNetworkConfig.h:121
void setSubnetMask(const IpAddress &subnetMask) noexcept
Sets the subnet mask.
Definition DeviceNetworkConfig.h:156
DeviceNetworkConfig()=default
Constructor.
void setDeviceIp(const IpAddress &address) noexcept
Sets the device IP address.
Definition DeviceNetworkConfig.h:141
const IpAddress & getDestinationIp() const noexcept
Returns the IP address to which the device sends its data to.
Definition DeviceNetworkConfig.h:126
void setDestinationIp(const IpAddress &address) noexcept
Sets the destination IP address to which the device sends its data to.
Definition DeviceNetworkConfig.h:146
void setDestinationPort(const Port &port) noexcept
Sets the port to which the device sends its data to.
Definition DeviceNetworkConfig.h:151
const IpAddress & getSubnetMask() const noexcept
Returns the subnet mask.
Definition DeviceNetworkConfig.h:136
const Port & getDestinationPort() const noexcept
Returns the port to which the device sends its data to.
Definition DeviceNetworkConfig.h:131
Encapsulates an IP v4 address.
Definition IpAddress.h:33
Encapsulates a network port number.
Definition Port.h:34
Main SDK namespace.
Definition DeviceInfo.h:23