The ETHERNET settings encapsulation for ETHERNET communication.
More...
#include <EthernetSettings.h>
The ETHERNET settings encapsulation for ETHERNET communication.
◆ EthernetSettings() [1/2]
| EthernetSettings::EthernetSettings |
( |
| ) |
|
◆ EthernetSettings() [2/2]
| EthernetSettings::EthernetSettings |
( |
string | pIp, |
|
|
int | pTcpPort, |
|
|
int | pUdpPort ) |
Copy constructor.
- Parameters
-
| pIp | IP V4 Address |
| pTcpPort | TCP Port number |
| pUdpPort | UDP Port number |
◆ ~EthernetSettings()
| EthernetSettings::~EthernetSettings |
( |
| ) |
|
◆ GetIp()
| string EthernetSettings::GetIp |
( |
| ) |
|
Returns the IP Address.
- Returns
- The IP Address represented as a string
◆ GetTcpPort()
| int EthernetSettings::GetTcpPort |
( |
| ) |
|
Gets the TCP Port.
- Returns
- The TCP Port represented as an int
◆ GetUdpPort()
| int EthernetSettings::GetUdpPort |
( |
| ) |
|
Gets the UDP Port.
- Returns
- The UDP Port represented as an int
◆ SetIp()
| void EthernetSettings::SetIp |
( |
string | pIp | ) |
|
Sets the IP v4 Address.
- Parameters
-
| pIp | The IP v4 address to be set |
◆ SetTcpPort()
| void EthernetSettings::SetTcpPort |
( |
int | pTcpPort | ) |
|
Sets the TCP Port.
- Parameters
-
| pTcpPort | The TCP Port to be set |
◆ SetUdpPort()
| void EthernetSettings::SetUdpPort |
( |
int | pUdpPort | ) |
|
Sets the UDP Port.
- Parameters
-
| pUdpPort | The UDP Port to be set |
The documentation for this class was generated from the following files: