|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
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 () |
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.
| FakeSelectSocketDescriptor::FakeSelectSocketDescriptor | ( | ) |
Definition at line 22 of file FakeSelectSocketDescriptor.cxx.
| FakeSelectSocketDescriptor::~FakeSelectSocketDescriptor | ( | ) |
Definition at line 50 of file FakeSelectSocketDescriptor.cxx.
Definition at line 61 of file FakeSelectSocketDescriptor.cxx.
| void FakeSelectSocketDescriptor::receive | ( | ) |
Definition at line 84 of file FakeSelectSocketDescriptor.cxx.
| void FakeSelectSocketDescriptor::send | ( | ) |
Definition at line 71 of file FakeSelectSocketDescriptor.cxx.