ISDNQ931CallMonitor Class Reference

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

#include <yatesig.h>

Inheritance diagram for ISDNQ931CallMonitor:

ISDNQ931State SignallingCall RefObject GenObject

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:
controller The call controller
callRef The call reference
netInit True 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:
when The 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:
name Object 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:
reason Optional 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:
reason Terminate reason


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

Generated on Sun Dec 7 21:36:14 2008 for Yate by  doxygen 1.5.7.1