reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
flowmanager::FakeSelectSocketDescriptor Class Reference

This class is used to generate a fake socket descriptor than can be used by applications that implement a select/process loop. More...

#include <FakeSelectSocketDescriptor.hxx>

Public Member Functions

 FakeSelectSocketDescriptor ()
 
 ~FakeSelectSocketDescriptor ()
 
unsigned int getSocketDescriptor ()
 
void send ()
 
void receive ()
 

Detailed Description

This class is used to generate a fake socket descriptor than can be used by applications that implement a select/process loop.

This is required so that STUN messages not related to the actual data transmission, do not cause a select call to wake up if using select on the actual socket descriptor.

Author: Scott Godin (sgodin AT SipSpectrum DOT com)

Definition at line 17 of file FakeSelectSocketDescriptor.hxx.

Constructor & Destructor Documentation

◆ FakeSelectSocketDescriptor()

FakeSelectSocketDescriptor::FakeSelectSocketDescriptor ( )

Definition at line 22 of file FakeSelectSocketDescriptor.cxx.

◆ ~FakeSelectSocketDescriptor()

FakeSelectSocketDescriptor::~FakeSelectSocketDescriptor ( )

Definition at line 50 of file FakeSelectSocketDescriptor.cxx.

Member Function Documentation

◆ getSocketDescriptor()

unsigned int FakeSelectSocketDescriptor::getSocketDescriptor ( )

Definition at line 61 of file FakeSelectSocketDescriptor.cxx.

◆ receive()

void FakeSelectSocketDescriptor::receive ( )

Definition at line 84 of file FakeSelectSocketDescriptor.cxx.

◆ send()

void FakeSelectSocketDescriptor::send ( )

Definition at line 71 of file FakeSelectSocketDescriptor.cxx.


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