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 |
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 Attributes | |
SignallingTimer | m_retrieve |
int32_t | m_iid |
int | m_linkState |
bool | m_rpo |
bool | m_longSeq |
Friends | |
class | SS7M2UAClient |
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 void activeChange | ( | bool | active | ) | [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 int getSequence | ( | ) | [virtual] |
Get the sequence number of the last MSU received, request if not available
Reimplemented from SS7Layer2.
int32_t iid | ( | ) | const [inline] |
Retrieve the numeric Interface Identifier (if any)
virtual bool initialize | ( | const NamedList * | config | ) | [virtual] |
Configure and initialize M2UA and its transport
config | Optional configuration parameters override |
Reimplemented from SignallingComponent.
virtual bool operational | ( | ) | const [virtual] |
Check if the link is fully operational
Implements SS7Layer2.
virtual void recoverMSU | ( | int | sequence | ) | [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 unsigned int status | ( | ) | const [virtual] |
Retrieve the current link status indications
Reimplemented from SS7Layer2.
virtual bool transmitMSU | ( | const SS7MSU & | msu | ) | [virtual] |