Yate
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
ISDNIUA Class Reference

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

#include <yatesig.h>

Inheritance diagram for ISDNIUA:
ISDNLayer2 SIGAdaptUser SignallingComponent RefObject DebugEnabler GenObject

List of all members.

Public Member Functions

 ISDNIUA (const NamedList &params, const char *name=0, u_int8_t tei=0)
virtual ~ISDNIUA ()
virtual bool initialize (const NamedList *config)
virtual bool multipleFrame (u_int8_t tei, bool establish, bool force)
virtual bool sendData (const DataBlock &data, u_int8_t tei, bool ack)
virtual void cleanup ()
virtual void activeChange (bool active)
int32_t iid () const

Protected Member Functions

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

Protected Attributes

int32_t m_iid

Friends

class ISDNIUAClient

Detailed Description

SIGTRAN ISDN Q.921 User Adaptation Layer.

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.


Constructor & Destructor Documentation

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

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
virtual ~ISDNIUA ( ) [virtual]

Destructor


Member Function Documentation

virtual void activeChange ( bool  active) [virtual]

Traffic activity state change notification

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

Implements SIGAdaptUser.

virtual void cleanup ( ) [virtual]

Emergency release.

Implements ISDNLayer2.

int32_t iid ( ) const [inline]

Retrieve the numeric Interface Identifier (if any)

Returns:
IID value, -1 if not set
virtual bool initialize ( const NamedList config) [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.

virtual bool multipleFrame ( u_int8_t  tei,
bool  establish,
bool  force 
) [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.

virtual bool sendData ( const DataBlock data,
u_int8_t  tei,
bool  ack 
) [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.


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