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

Class used to test the unix datagram socket API. More...

Inheritance diagram for UnixDgramSocket:
Collaboration diagram for UnixDgramSocket:

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 _serverpath = "/tmp/unixserver_test.sock"
 path.
 
static const std::string _clientpath = "/tmp/unixclient_test.sock"
 
static const int _timeout = 1000
 timeout.
 

Detailed Description

Class used to test the unix datagram socket API.

Member Function Documentation

◆ onReceive()

virtual void UnixDgramSocket::onReceive ( )
inlineoverrideprotectedvirtual

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

◆ SetUp()

void UnixDgramSocket::SetUp ( )
inlineoverrideprotected

Sets up the test fixture.

◆ TearDown()

void UnixDgramSocket::TearDown ( )
inlineoverrideprotected

Tears down the test fixture.

Member Data Documentation

◆ _clientpath

const std::string UnixDgramSocket::_clientpath = "/tmp/unixclient_test.sock"
staticprotected

◆ _serverpath

const std::string UnixDgramSocket::_serverpath = "/tmp/unixserver_test.sock"
staticprotected

path.

◆ _timeout

const int UnixDgramSocket::_timeout = 1000
staticprotected

timeout.


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