join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
UdpSocket Class Reference

Class used to test the UDP socket API. More...

Inheritance diagram for UdpSocket:
Collaboration diagram for UdpSocket:

Protected Member Functions

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 Protected Attributes

static const std::string _host = "127.0.0.1"
 host.
 
static const uint16_t _port = 5000
 port.
 
static const int _timeout = 1000
 timeout.
 

Detailed Description

Class used to test the UDP socket API.

Member Function Documentation

◆ onReceive()

virtual void UdpSocket::onReceive ( )
inlineoverrideprotectedvirtual

method called when data are ready to be read on handle.

◆ SetUp()

void UdpSocket::SetUp ( )
inlineoverrideprotected

Sets up the test fixture.

◆ TearDown()

void UdpSocket::TearDown ( )
inlineoverrideprotected

Tears down the test fixture.

Member Data Documentation

◆ _host

const std::string UdpSocket::_host = "127.0.0.1"
staticprotected

host.

◆ _port

const uint16_t UdpSocket::_port = 5000
staticprotected

port.

◆ _timeout

const int UdpSocket::_timeout = 1000
staticprotected

timeout.


The documentation for this class was generated from the following file: