Class used to test the TCP socket API.
More...
|
| void | SetUp () override |
| | Sets up the test fixture.
|
| |
| void | TearDown () override |
| | Tears down the test fixture.
|
| |
| virtual void | onReceive () override |
| | method called when data are ready to be read on handle.
|
| |
|
| static const std::string | _hostv4 = "127.0.0.1" |
| | host.
|
| |
| static const std::string | _hostv6 = "::1" |
| |
| static const uint16_t | _port = 5000 |
| | port.
|
| |
| static const int | _timeout = 1000 |
| | timeout.
|
| |
Class used to test the TCP socket API.
◆ onReceive()
| virtual void TcpSocket::onReceive |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
method called when data are ready to be read on handle.
◆ SetUp()
| void TcpSocket::SetUp |
( |
| ) |
|
|
inlineoverrideprotected |
Sets up the test fixture.
◆ TearDown()
| void TcpSocket::TearDown |
( |
| ) |
|
|
inlineoverrideprotected |
Tears down the test fixture.
◆ _hostv4
| const std::string TcpSocket::_hostv4 = "127.0.0.1" |
|
staticprotected |
◆ _hostv6
| const std::string TcpSocket::_hostv6 = "::1" |
|
staticprotected |
◆ _port
| const uint16_t TcpSocket::_port = 5000 |
|
staticprotected |
◆ _timeout
| const int TcpSocket::_timeout = 1000 |
|
staticprotected |
The documentation for this class was generated from the following file: