|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
Used to 'artificially' interrupt a select call. More...
#include <SelectInterruptor.hxx>
Public Member Functions | |
| SelectInterruptor () | |
| virtual | ~SelectInterruptor () |
| virtual void | handleProcessNotification () |
| Called by the stack when messages are posted to it. | |
| void | interrupt () |
| cause the 'artificial' fd to signal | |
| void | buildFdSet (FdSet &fdset) |
| Used to add the 'artificial' fd to the fdset that will be responsible for interrupting a subsequent select call. | |
| void | process (FdSet &fdset) |
| cleanup signalled fd | |
| virtual void | processPollEvent (FdPollEventMask mask) |
| Called by PollGrp when activity is possible. | |
| Socket | getReadSocket () const |
Public Member Functions inherited from resip::AsyncProcessHandler | |
| virtual | ~AsyncProcessHandler () |
Public Member Functions inherited from resip::FdPollItemIf | |
| FdPollItemIf () | |
| virtual | ~FdPollItemIf () |
Protected Member Functions | |
| void | processCleanup () |
Used to 'artificially' interrupt a select call.
Definition at line 14 of file SelectInterruptor.hxx.
| SelectInterruptor::SelectInterruptor | ( | ) |
Definition at line 14 of file SelectInterruptor.cxx.
|
virtual |
Definition at line 48 of file SelectInterruptor.cxx.
| void SelectInterruptor::buildFdSet | ( | FdSet & | fdset | ) |
Used to add the 'artificial' fd to the fdset that will be responsible for interrupting a subsequent select call.
Definition at line 65 of file SelectInterruptor.cxx.
|
inline |
Definition at line 49 of file SelectInterruptor.hxx.
|
virtual |
Called by the stack when messages are posted to it.
Calls interrupt.
Implements resip::AsyncProcessHandler.
Definition at line 59 of file SelectInterruptor.cxx.
| void SelectInterruptor::interrupt | ( | ) |
cause the 'artificial' fd to signal
Definition at line 111 of file SelectInterruptor.cxx.
| void SelectInterruptor::process | ( | FdSet & | fdset | ) |
cleanup signalled fd
Definition at line 92 of file SelectInterruptor.cxx.
|
protected |
Definition at line 75 of file SelectInterruptor.cxx.
|
virtual |
Called by PollGrp when activity is possible.
Implements resip::FdPollItemIf.
Definition at line 101 of file SelectInterruptor.cxx.