|
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 |
Public Member Functions inherited from ISDNLayer2 | |
| virtual | ~ISDNLayer2 () |
| ISDNLayer3 * | layer3 () const |
| State | state () const |
| bool | network () const |
| bool | detectType () const |
| u_int8_t | localSapi () const |
| u_int8_t | localTei () const |
| u_int32_t | maxUserData () const |
| bool | teiAssigned () const |
| bool | autoRestart () const |
| unsigned int | upTime () const |
| virtual void | attach (ISDNLayer3 *layer3) |
Public Member Functions inherited from SignallingComponent | |
| virtual | ~SignallingComponent () |
| virtual const String & | toString () const |
| virtual bool | control (NamedList ¶ms) |
| virtual NamedList * | controlCreate (const char *oper=0) |
| virtual bool | controlExecute (NamedList *params) |
| virtual void | engine (SignallingEngine *eng) |
| SignallingEngine * | engine () const |
| int | debugLevel (int level) |
| const String & | componentType () const |
Public Member Functions inherited from RefObject | |
| RefObject () | |
| virtual | ~RefObject () |
| virtual void * | getObject (const String &name) const |
| virtual bool | alive () const |
| bool | ref () |
| bool | deref () |
| int | refcount () const |
| virtual void | destruct () |
Public Member Functions inherited from GenObject | |
| GenObject () | |
| virtual | ~GenObject () |
| virtual const String & | traceId () const |
| NamedCounter * | getObjCounter () const |
| NamedCounter * | setObjCounter (NamedCounter *counter) |
Public Member Functions inherited from DebugEnabler | |
| DebugEnabler (int level=TelEngine::debugLevel(), bool enabled=true) | |
| int | debugLevel () const |
| int | debugLevel (int level) |
| bool | debugEnabled () const |
| void | debugEnabled (bool enable) |
| const char * | debugName () const |
| bool | debugAt (int level) const |
| bool | debugChained () const |
| void | debugChain (const DebugEnabler *chain=0) |
| void | debugCopy (const DebugEnabler *original=0) |
Public Member Functions inherited from SIGAdaptUser | |
| virtual | ~SIGAdaptUser () |
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 Member Functions inherited from ISDNLayer2 | |
| ISDNLayer2 (const NamedList ¶ms, const char *name=0, u_int8_t tei=0) | |
| Mutex & | l2Mutex () |
| void | multipleFrameEstablished (u_int8_t tei, bool confirm, bool timeout) |
| void | multipleFrameReleased (u_int8_t tei, bool confirm, bool timeout) |
| void | dataLinkState (u_int8_t tei, bool cmd, bool value) |
| void | idleTimeout () |
| void | receiveData (const DataBlock &data, u_int8_t tei) |
| void | teiAssigned (bool status) |
| void | changeState (State newState, const char *reason=0) |
| bool | changeType () |
| void | autoRestart (bool restart) |
| void | setRi (u_int16_t ri) |
| ISDNFrame * | parsePacket (const DataBlock &packet) |
Protected Member Functions inherited from SignallingComponent | |
| SignallingComponent (const char *name=0, const NamedList *params=0, const char *type="unknown") | |
| virtual void | destroyed () |
| void | insert (SignallingComponent *component) |
| virtual void | detach () |
| virtual void | timerTick (const Time &when) |
| void | setName (const char *name) |
| void | setCompType (const char *type) |
| unsigned long | tickSleep (unsigned long usec=1000000) const |
Protected Member Functions inherited from RefObject | |
| virtual void | zeroRefs () |
| bool | resurrect () |
Protected Member Functions inherited from DebugEnabler | |
| void | debugName (const char *name) |
Protected Member Functions inherited from SIGAdaptUser | |
| SIGAdaptUser () | |
| SIGAdaptClient * | adaptation () const |
| SIGTransport * | transport () const |
| void | adaptation (SIGAdaptClient *adapt) |
| bool | activate () |
| bool | aspUp () const |
| bool | aspActive () const |
| unsigned char | getStreamId () |
Protected Attributes | |
| int32_t | m_iid |
Protected Attributes inherited from SIGAdaptUser | |
| bool | m_autostart |
| unsigned char | m_streamId |
Friends | |
| class | ISDNIUAClient |
Additional Inherited Members | |
Public Types inherited from ISDNLayer2 | |
| enum | State { Released , WaitEstablish , Established , WaitRelease } |
Static Public Member Functions inherited from ISDNLayer2 | |
| static const char * | stateName (State s) |
Static Public Member Functions inherited from SignallingComponent | |
| static bool | resolveConfig (const String &cmpName, NamedList ¶ms, const NamedList *config) |
Static Public Member Functions inherited from RefObject | |
| static bool | alive (const RefObject *obj) |
| static bool | efficientIncDec () |
Static Public Member Functions inherited from GenObject | |
| static void * | getObject (const String &name, const GenObject *obj) |
| static bool | getObjCounting () |
| static void | setObjCounting (bool enable) |
| static NamedCounter * | getObjCounter (const String &name, bool create=true) |
| static ObjList & | getObjCounters () |
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 |
Destructor
|
virtual |
Traffic activity state change notification
| active | True if the ASP is active and traffic is allowed |
Implements SIGAdaptUser.
|
virtual |
Emergency release.
Implements ISDNLayer2.
|
inline |
Retrieve the numeric Interface Identifier (if any)
|
virtual |
Configure and initialize IUA and its transport
| config | Optional configuration parameters override |
Reimplemented from SignallingComponent.
|
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.
|
virtual |
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.