|
Yate
|
SIGTRAN MTP2 User Adaptation Layer. More...
#include <yatesig.h>
Public Member Functions | |
| SS7M2UA (const NamedList ¶ms) | |
| virtual bool | initialize (const NamedList *config) |
| virtual bool | control (Operation oper, NamedList *params=0) |
| virtual unsigned int | status () const |
| virtual bool | transmitMSU (const SS7MSU &msu) |
| virtual void | recoverMSU (int sequence) |
| virtual bool | operational () const |
| virtual int | getSequence () |
| virtual void | activeChange (bool active) |
| int32_t | iid () const |
Public Member Functions inherited from SS7Layer2 | |
| virtual const char * | statusName (unsigned int status, bool brief) const |
| const char * | statusName (bool brief=false) const |
| unsigned int | upTime () const |
| void | attach (SS7L2User *l2user) |
| SS7L2User * | user () const |
| int | sls () const |
| void | sls (int linkSel) |
| int | inhibited () const |
| bool | inhibited (int flags) const |
| virtual unsigned int | congestion () |
| virtual bool | control (NamedList ¶ms) |
Public Member Functions inherited from SignallingComponent | |
| virtual | ~SignallingComponent () |
| virtual const String & | toString () const |
| 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 Types | |
| enum | LinkState { LinkDown , LinkReq , LinkReqEmg , LinkUp , LinkUpEmg } |
Protected Member Functions | |
| virtual void | timerTick (const Time &when) |
| SS7M2UAClient * | client () const |
| virtual bool | processMGMT (unsigned char msgType, const DataBlock &msg, int streamId) |
| virtual bool | processMAUP (unsigned char msgType, const DataBlock &msg, int streamId) |
| void | postRetrieve () |
Protected Member Functions inherited from SS7Layer2 | |
| SS7Layer2 () | |
| bool | receivedMSU (const SS7MSU &msu) |
| bool | recoveredMSU (const SS7MSU &msu) |
| void | notify () |
| bool | inhibit (int setFlags, int clrFlags=0) |
| bool | getEmergency (NamedList *params=0, bool emg=false) const |
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 () |
| 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 | |
| SignallingTimer | m_retrieve |
| int32_t | m_iid |
| int | m_linkState |
| bool | m_rpo |
| bool | m_longSeq |
Protected Attributes inherited from SS7Layer2 | |
| bool | m_autoEmergency |
| int | m_lastSeqRx |
| unsigned int | m_congestion |
Protected Attributes inherited from SIGAdaptUser | |
| bool | m_autostart |
| unsigned char | m_streamId |
Friends | |
| class | SS7M2UAClient |
Additional Inherited Members | |
Public Types inherited from SS7Layer2 | |
| enum | LinkStatus { OutOfAlignment = 0 , NormalAlignment = 1 , EmergencyAlignment = 2 , OutOfService = 3 , ProcessorOutage = 4 , Busy = 5 , O = OutOfAlignment , N = NormalAlignment , E = EmergencyAlignment , OS = OutOfService , PO = ProcessorOutage , B = Busy } |
| enum | Operation { Pause = 0x100 , Resume = 0x200 , Align = 0x300 , Status = 0x400 } |
| enum | Inhibitions { Unchecked = 0x01 , Inactive = 0x02 , Local = 0x04 , Remote = 0x08 } |
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 MTP2 User Adaptation Layer.
RFC3331 SS7 Layer 2 implementation over SCTP/IP. M2UA is intended to be used as a Provider-User where real MTP2 runs on a Signalling Gateway and MTP3 runs on an Application Server.
|
virtual |
Traffic activity state change notification
| active | True if the ASP is active and traffic is allowed |
Implements SIGAdaptUser.
Execute a control operation. Operations can change the link status or can query the aligned status.
| oper | Operation to execute |
| params | Optional parameters for the operation |
Reimplemented from SS7Layer2.
|
virtual |
Get the sequence number of the last MSU received, request if not available
Reimplemented from SS7Layer2.
|
inline |
Retrieve the numeric Interface Identifier (if any)
|
virtual |
Configure and initialize M2UA and its transport
| config | Optional configuration parameters override |
Reimplemented from SignallingComponent.
|
virtual |
Check if the link is fully operational
Implements SS7Layer2.
|
virtual |
Remove the MSUs waiting in the transmit queue and return them
| sequence | First sequence number to recover, flush earlier packets |
Reimplemented from SS7Layer2.
|
virtual |
Retrieve the current link status indications
Reimplemented from SS7Layer2.
|
protectedvirtual |
Periodical timer tick used to perform alignment and housekeeping
| when | Time to use as computing base for events and timeouts |
Reimplemented from SS7Layer2.
References SIGAdaptUser::adaptation().
|
virtual |
Push a Message Signal Unit down the protocol stack
| msu | Message data, starting with Service Indicator Octet |
Implements SS7Layer2.