7#define RESIPROCATE_SUBSYSTEM Subsystem::SIP
13 mSelectInterruptor(si)
29#pragma GCC diagnostic push
30#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33#pragma warning(disable: 4996)
55 mSelectInterruptor.
process(fdset);
62 ErrLog (<<
"Unhandled exception: " << e);
65 InfoLog (<<
"Shutting down stack thread");
69#pragma GCC diagnostic pop
The abstract base-class for all exceptions thrown by resip code.
Object-oriented wrapper for your platform's file-descriptor set.
int selectMilliSeconds(unsigned long ms)
virtual void buildFdSet(FdSet &fdset)
virtual void process(FdSet &fdset)
virtual ~InterruptableStackThread()
InterruptableStackThread(SipStack &stack, SelectInterruptor &si)
virtual unsigned int getTimeTillNextProcessMS() const
Used to 'artificially' interrupt a select call.
void process(FdSet &fdset)
cleanup signalled fd
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 s...
This is the primary point of interaction between the app-layer and the stack.
virtual void process(FdSet &fdset)
This allows the executive to give processing time to stack components.
virtual unsigned int getTimeTillNextProcessMS()
Returns time in milliseconds when process next needs to be called.
virtual void buildFdSet(FdSet &fdset)
Build the FD set to use in a select to find out when process(FdSet&) must be called again.
dcm! – add UnusedChecking(_enum) below;
const _Tp & resipMin(const _Tp &__a, const _Tp &__b)