class ISDNLayer3

Abstract ISDN layer 3 (Q.931) message transport. More...

Contains pure virtuals
Full nameTelEngine::ISDNLayer3
Definition#include <libs/ysig/yatesig.h>
InheritsTelEngine::SignallingComponent [virtual public ]
Inherited byISDNQ921Management, ISDNQ931, ISDNQ931Monitor
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

An interface to a Layer 3 (Q.931) ISDN message transport

void  multipleFrameEstablished (u_int8_t tei, bool confirm, bool timeout, ISDNLayer2* layer2)

multipleFrameEstablished

[virtual]

Implements Q.921 DL-ESTABLISH indication/confirmation primitive: 'multiple frame acknowledged' mode established

Parameters:
teiThe TEI of the frame
confirmTrue if this is a confirmation of a previous request. False if it is an indication of state change on remote request
timeoutTrue if the reason is a timeout
layer2Pointer to the notifier

void  multipleFrameReleased (u_int8_t tei, bool confirm, bool timeout, ISDNLayer2* layer2)

multipleFrameReleased

[virtual]

Implements Q.921 DL-RELEASE indication/confirmation primitive: 'multiple frame acknowledged' mode released

Parameters:
teiThe TEI of the frame
confirmTrue if this is a confirmation of a previous request. False if it is an indication of state change on remote request
timeoutTrue if the reason is a timeout.
layer2Pointer to the notifier

void  dataLinkState (u_int8_t tei, bool cmd, bool value, ISDNLayer2* layer2)

dataLinkState

[virtual]

Notification from layer 2 of data link set/release command or response Used for stateless layer 2

Parameters:
teiThe TEI of the command or response
cmdTrue if received a command, false if received a response
valueThe value of the notification If 'cmd' is true (command), the value is true if a request to establish data link was received or false if received a request to release data link If 'cmd' is false (response), the value is the response
layer2Pointer to the notifier

void  idleTimeout (ISDNLayer2* layer2)

idleTimeout

[virtual]

Notification from layer 2 of data link idle timeout Used for stateless layer 2

Parameters:
layer2Pointer to the notifier

void  receiveData (const DataBlock& data, u_int8_t tei, ISDNLayer2* layer2)

receiveData

[pure virtual]

Implements Q.921 DL-DATA and DL-UNIT DATA indication primitives Receive data from remote peer

Parameters:
dataReceived data
teiThe TEI of the received frame
layer2Pointer to the sender

ISDNLayer2*  attach (ISDNLayer2* layer2)

attach

[virtual]

Attach an ISDN Q.921 Layer 2

Parameters:
layer2Pointer to the Q.921 Layer 2 to attach

Returns: Pointer to the detached Layer 2 or NULL

inline  ISDNLayer3 (const char* name = 0)

ISDNLayer3

[protected]

Constructor Initialize the component

Parameters:
nameName of this component

inline Mutex&  l3Mutex ()

l3Mutex

[protected]

Retrieve the layer's mutex

Returns: Reference to the Layer 3 mutex


Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54.