Class used to test the TCP socket stream 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 int | _timeout = 1000 |
| | timeout.
|
| |
| static const std::string | _host = "127.0.0.1" |
| | host.
|
| |
| static const uint16_t | _port = 5000 |
| | port.
|
| |
| static const uint16_t | _invalid_port = 5032 |
| |
Class used to test the TCP socket stream API.
◆ onReceive()
| virtual void TcpSocketStream::onReceive |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
method called when data are ready to be read on handle.
◆ SetUp()
| void TcpSocketStream::SetUp |
( |
| ) |
|
|
inlineoverrideprotected |
Sets up the test fixture.
◆ TearDown()
| void TcpSocketStream::TearDown |
( |
| ) |
|
|
inlineoverrideprotected |
Tears down the test fixture.
◆ _host
| const std::string TcpSocketStream::_host = "127.0.0.1" |
|
staticprotected |
◆ _invalid_port
| const uint16_t TcpSocketStream::_invalid_port = 5032 |
|
staticprotected |
◆ _port
| const uint16_t TcpSocketStream::_port = 5000 |
|
staticprotected |
◆ _timeout
| const int TcpSocketStream::_timeout = 1000 |
|
staticprotected |
The documentation for this class was generated from the following file: