class ISDNQ931Call

A Q.931 ISDN call. More...

Full nameTelEngine::ISDNQ931Call
Definition#include <libs/ysig/yatesig.h>
InheritsTelEngine::ISDNQ931State [public ], TelEngine::SignallingCall [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

Q.931 ISDN call

 ~ISDNQ931Call ()

~ISDNQ931Call

[virtual]

Destructor

inline u_int32_t  callRef ()

callRef

[const]

Get the id of this call

Returns: The call reference

inline u_int32_t  callRefLen ()

callRefLen

[const]

Get the length of the call reference

Returns: The length of the call reference

inline u_int8_t  callTei ()

callTei

[const]

Get the Terminal Equipment Indicator for this call

Returns: Value of TEI used in this call

inline SignallingCircuit*  circuit ()

circuit

Get the circuit this call had reserved

Returns: The circuit reserved by this call

void  setTerminate (bool destroy, const char* reason)

setTerminate

Set termination (and destroy) flags This method is thread safe

Parameters:
destroyThe destroy flag. If true, the call will be destroyed
reasonTerminate reason

bool  sendEvent (SignallingEvent* event)

sendEvent

[virtual]

Send an event to this call This method is thread safe

Parameters:
eventThe sent event

Returns: True if the operation succedded

Reimplemented from SignallingCall.

SignallingEvent*  getEvent (const Time& when)

getEvent

[virtual]

Get an event from this call This method is thread safe

Parameters:
whenThe current time

Returns: SignallingEvent pointer or 0 if no events

Reimplemented from SignallingCall.

void  dataLinkState (bool up)

dataLinkState

Data link (interface) state notification This method is thread safe

Parameters:
upThe data link state

void*  getObject (const String& name)

getObject

[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.

 ISDNQ931Call (ISDNQ931* controller, bool outgoing, u_int32_t callRef, u_int8_t callRefLen, u_int8_t tei = 0)

ISDNQ931Call

[protected]

Constructor

Parameters:
controllerThe call controller
outgoingThe call direction
callRefThe call reference
callRefLenThe call reference length in bytes
teiThe Terminal Equipment Identifier used in this call

SignallingEvent*  releaseComplete (const char* reason = 0, const char* diag = 0)

releaseComplete

[protected]

Send RELEASE COMPLETE if not in Null state. 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
diagOptional hexified string for the cause diagnostic

Returns: Pointer to an SignallingEvent of type Release, with no message

SignallingEvent*  getCircuitEvent (const Time& when)

getCircuitEvent

[protected]

Get an event from the circuit reserved for this call

Parameters:
whenThe current time

Returns: SignallingEvent pointer or 0 if no events


Generated by: paulc on bussard on Fri Apr 1 18:17:10 2011, using kdoc 2.0a54.