Yate
Public Member Functions | Protected Member Functions | Friends

ISDNQ931CallMonitor Class Reference

A Q.931 ISDN call monitor. More...

#include <yatesig.h>

Inheritance diagram for ISDNQ931CallMonitor:
ISDNQ931State SignallingCall RefObject Mutex GenObject Lockable

List of all members.

Public Member Functions

virtual ~ISDNQ931CallMonitor ()
bool netInit () const
virtual SignallingEventgetEvent (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)
SignallingEventreleaseComplete (const char *reason=0)

Friends

class ISDNQ931Monitor

Detailed Description

A Q.931 ISDN call monitor.

Q.931 ISDN call monitor


Constructor & Destructor Documentation

virtual ~ISDNQ931CallMonitor ( ) [virtual]

Destructor

ISDNQ931CallMonitor ( ISDNQ931Monitor controller,
u_int32_t  callRef,
bool  netInit 
) [protected]

Constructor

Parameters:
controllerThe call controller
callRefThe call reference
netInitTrue if the initiator is from the network side of the link

Member Function Documentation

virtual SignallingEvent* getEvent ( const Time when) [virtual]

Get an event from this call This method is thread safe

Parameters:
whenThe current time
Returns:
SignallingEvent pointer or 0 if no events

Implements SignallingCall.

virtual void* getObject ( const String name) const [virtual]

Get a pointer to a data member or this call

Parameters:
nameObject name
Returns:
The requested pointer or 0 if not exists

Reimplemented from GenObject.

bool netInit ( ) const [inline]

Check if the initiator is from the network side of the data link

Returns:
True if the initiator is from the network side of the data link, false if it is from the user side
SignallingEvent* releaseComplete ( const char *  reason = 0) [protected]

Clear all call data Remove from controller's queue. Decrease the object's refence count

Parameters:
reasonOptional release reason. If missing, the last reason is used
Returns:
Pointer to an SignallingEvent of type Release
void setTerminate ( const char *  reason)

Set termination flag This method is thread safe

Parameters:
reasonTerminate reason

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