#include <yatesig.h>
Public Member Functions | |
virtual | ~ISDNQ931CallMonitor () |
bool | netInit () const |
virtual SignallingEvent * | getEvent (const Time &when) |
void | setTerminate (const char *reason) |
virtual void * | getObject (const String &name) const |
Protected Member Functions | |
ISDNQ931CallMonitor (ISDNQ931Monitor *controller, u_int32_t callRef, bool netInit) | |
SignallingEvent * | releaseComplete (const char *reason=0) |
Friends | |
class | ISDNQ931Monitor |
Q.931 ISDN call monitor
virtual ~ISDNQ931CallMonitor | ( | ) | [virtual] |
Destructor
ISDNQ931CallMonitor | ( | ISDNQ931Monitor * | controller, | |
u_int32_t | callRef, | |||
bool | netInit | |||
) | [protected] |
Constructor
controller | The call controller | |
callRef | The call reference | |
netInit | True if the initiator is from the network side of the link |
bool netInit | ( | ) | const [inline] |
Check if the initiator is from the network side of the data link
virtual SignallingEvent* getEvent | ( | const Time & | when | ) | [virtual] |
Get an event from this call This method is thread safe
when | The current time |
Implements SignallingCall.
void setTerminate | ( | const char * | reason | ) |
Set termination flag This method is thread safe
reason | Terminate reason |
virtual void* getObject | ( | const String & | name | ) | const [virtual] |
Get a pointer to a data member or this call
name | Object name |
Reimplemented from GenObject.
SignallingEvent* releaseComplete | ( | const char * | reason = 0 |
) | [protected] |
Clear all call data Remove from controller's queue. Decrease the object's refence count
reason | Optional release reason. If missing, the last reason is used |