class ISDNIUA

SIGTRAN ISDN Q.921 User Adaptation Layer. More...

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

Public Methods

Protected Methods

Protected Members


Detailed Description

RFC4233 ISDN Layer 2 implementation over SCTP/IP IUA is intended to be used as a Provider-User where Q.921 runs on a Signalling Gateway and the user (Q.931) runs on an Application Server.

 ISDNIUA (const NamedList& params, const char* name = 0, u_int8_t tei = 0)

ISDNIUA

Constructor Initialize this object and the layer 2

Parameters:
paramsObject and Layer 2 parameters
nameOptional name for Layer 2
teiValue of TEI for this component

 ~ISDNIUA ()

~ISDNIUA

[virtual]

Destructor

bool  initialize (const NamedList* config)

initialize

[virtual]

Configure and initialize IUA and its transport

Parameters:
configOptional configuration parameters override

Returns: True if IUA and the transport were initialized properly

Reimplemented from SignallingComponent.

bool  multipleFrame (u_int8_t tei, bool establish, bool force)

multipleFrame

[virtual]

Implements Q.921 DL-ESTABLISH and DL-RELEASE request primitives

Parameters:
teiThis layer's TEI
establishTrue to establish. False to release
forceTrue to establish even if we already are in this mode. This parameter is ignored if establish is false

Returns: True if the request was accepted

Reimplemented from ISDNLayer2.

bool  sendData (const DataBlock& data, u_int8_t tei, bool ack)

sendData

[virtual]

Implements Q.921 DL-DATA and DL-UNIT DATA request primitives

Parameters:
dataData to send
teiThe TEI to send with the data frane
ackTrue to send an acknowledged frame, false to send an unacknowledged one

Returns: False if the request was not accepted or send operation failed

Reimplemented from ISDNLayer2.

void  cleanup ()

cleanup

[virtual]

Emergency release.

Reimplemented from ISDNLayer2.

void  activeChange (bool active)

activeChange

[virtual]

Traffic activity state change notification

Parameters:
activeTrue if the ASP is active and traffic is allowed

Reimplemented from SIGAdaptUser.

inline int32_t  iid ()

iid

[const]

Retrieve the numeric Interface Identifier (if any)

Returns: IID value, -1 if not set

ISDNIUAClient*  client ()

client

[protected const]

bool  processMGMT (unsigned char msgType, const DataBlock& msg, int streamId)

processMGMT

[protected virtual]

bool  processQPTM (unsigned char msgType, const DataBlock& msg, int streamId)

processQPTM

[protected virtual]

int32_t m_iid

m_iid

[protected]


Generated by: paulc on bussard on Tue Mar 8 18:42:27 2011, using kdoc 2.0a54.