Yate
|
SIGTRAN ISDN Q.921 User Adaptation Layer. More...
#include <yatesig.h>
Public Member Functions | |
ISDNIUA (const NamedList ¶ms, 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 | |
ISDNIUAClient * | client () 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 |
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 Initialize this object and the layer 2
params | Object and Layer 2 parameters |
name | Optional name for Layer 2 |
tei | Value of TEI for this component |
virtual ~ISDNIUA | ( | ) | [virtual] |
Destructor
virtual void activeChange | ( | bool | active | ) | [virtual] |
Traffic activity state change notification
active | True 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)
virtual bool initialize | ( | const NamedList * | config | ) | [virtual] |
Configure and initialize IUA and its transport
config | Optional configuration parameters override |
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
tei | This layer's TEI |
establish | True to establish. False to release |
force | True to establish even if we already are in this mode. This parameter is ignored if establish is false |
Reimplemented from ISDNLayer2.
Implements Q.921 DL-DATA and DL-UNIT DATA request primitives
data | Data to send |
tei | The TEI to send with the data frane |
ack | True to send an acknowledged frame, false to send an unacknowledged one |
Reimplemented from ISDNLayer2.