Yate
SS7Management Class Reference

SS7 SNM implementation. More...

#include <yatesig.h>

Inheritance diagram for SS7Management:
SS7Layer4 Mutex SS7L3User Lockable SignallingComponent RefObject DebugEnabler GenObject

Public Member Functions

 SS7Management (const NamedList &params, unsigned char sio=SS7MSU::SNM|SS7MSU::National)
 
- Public Member Functions inherited from SS7Layer4
virtual void destroyed ()
 
virtual bool initialize (const NamedList *config)
 
virtual void attach (SS7Layer3 *network)
 
SS7Layer3network () const
 
unsigned char sio () const
 
unsigned char sif () const
 
unsigned char ssf () const
 
unsigned char prio () const
 
unsigned char ni () const
 
unsigned char getSIO (const NamedList &params) const
 
- Public Member Functions inherited from SignallingComponent
virtual ~SignallingComponent ()
 
virtual const StringtoString () const
 
virtual NamedListcontrolCreate (const char *oper=0)
 
virtual bool controlExecute (NamedList *params)
 
virtual void engine (SignallingEngine *eng)
 
SignallingEngineengine () const
 
int debugLevel (int level)
 
const StringcomponentType () 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 StringtraceId () const
 
NamedCountergetObjCounter () const
 
NamedCountersetObjCounter (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 Mutex
 Mutex (bool recursive=false, const char *name=0)
 
 Mutex (const Mutex &original)
 
 ~Mutex ()
 
Mutexoperator= (const Mutex &original)
 
virtual bool lock (long maxwait=-1)
 
virtual bool unlock ()
 
virtual bool locked () const
 
const char * owner () const
 
bool recursive () const
 
- Public Member Functions inherited from Lockable
virtual ~Lockable ()
 
virtual bool check (long maxwait=-1)
 
virtual bool unlockAll ()
 

Protected Member Functions

virtual HandledMSU receivedMSU (const SS7MSU &msu, const SS7Label &label, SS7Layer3 *network, int sls)
 
bool inhibit (const SS7Label &link, int setFlags, int clrFlags=0)
 
bool inhibited (const SS7Label &link, int flags)
 
void recover (const SS7Label &link, int sequence)
 
virtual void notify (SS7Layer3 *link, int sls)
 
virtual bool control (NamedList &params)
 
virtual void timerTick (const Time &when)
 
- Protected Member Functions inherited from SS7Layer4
 SS7Layer4 (unsigned char sio=SS7MSU::National, const NamedList *params=0)
 
int transmitMSU (const SS7MSU &msu, const SS7Label &label, int sls=-1)
 
- Protected Member Functions inherited from SS7L3User
virtual bool recoveredMSU (const SS7MSU &msu, const SS7Label &label, SS7Layer3 *network, int sls)
 
virtual void receivedUPU (SS7PointCode::Type type, const SS7PointCode node, SS7MSU::Services part, unsigned char cause, const SS7Label &label, int sls)
 
virtual void routeStatusChanged (SS7PointCode::Type type, const SS7PointCode &node, SS7Route::State state)
 
- Protected Member Functions inherited from SignallingComponent
 SignallingComponent (const char *name=0, const NamedList *params=0, const char *type="unknown")
 
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)
 

Additional Inherited Members

- Static Public Member Functions inherited from SS7Layer4
static unsigned char getSIO (const NamedList &params, unsigned char sif, unsigned char prio, unsigned char ni)
 
static unsigned char getSIO (const NamedList &params, unsigned char sif, unsigned char ssf)
 
static unsigned char getSIO (const NamedList &params, unsigned char sio)
 
- Static Public Member Functions inherited from SignallingComponent
static bool resolveConfig (const String &cmpName, NamedList &params, 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 NamedCountergetObjCounter (const String &name, bool create=true)
 
static ObjListgetObjCounters ()
 
- Static Public Member Functions inherited from Mutex
static int count ()
 
static int locks ()
 
static bool efficientTimedLock ()
 
- Static Public Member Functions inherited from Lockable
static void wait (unsigned long maxwait)
 
static unsigned long wait ()
 
static void startUsingNow ()
 
static void enableSafety (bool safe=true)
 
static bool safety ()
 
- Static Protected Member Functions inherited from SS7L3User
static ObjListgetNetRoutes (SS7Layer3 *network, SS7PointCode::Type type)
 
static const ObjListgetNetRoutes (const SS7Layer3 *network, SS7PointCode::Type type)
 
- Protected Attributes inherited from SS7Layer4
unsigned char m_sio
 

Detailed Description

SS7 SNM implementation.

Implementation of SS7 SNM User Part (Management) - Q.704

Constructor & Destructor Documentation

◆ SS7Management()

SS7Management ( const NamedList & params,
unsigned char sio = SS7MSU::SNM|SS7MSU::National )

Constructor

References SS7Layer4::sio().

Member Function Documentation

◆ control()

virtual bool control ( NamedList & params)
protectedvirtual

Query or modify the management settings or operational parameters

Parameters
paramsThe list of parameters to query or change
Returns
True if the control operation was executed

Reimplemented from SignallingComponent.

◆ inhibit()

bool inhibit ( const SS7Label & link,
int setFlags,
int clrFlags = 0 )
protected

Set and clear inhibition flags on a link of a router attached network

Parameters
linkSignalling Link to modify identified by a routing label
setFlagsFlag bits to set ORed together
clrFlagsFlag bits to clear ORed together (optional)
Returns
True if inhibition flags were set

◆ inhibited()

bool inhibited ( const SS7Label & link,
int flags )
protected

Check inhibition flags on a link of a router attached network

Parameters
linkSignalling Link to check identified by a routing label
flagsFlag bits to check ORed together
Returns
True if any of the specified inhibition flags are set

◆ notify()

virtual void notify ( SS7Layer3 * link,
int sls )
protectedvirtual

Process a notification generated by the attached network layer

Parameters
linkNetwork or linkset that generated the notification
slsSignallink Link that generated the notification, negative if none
Returns
True if notification was processed

Reimplemented from SS7L3User.

◆ receivedMSU()

virtual HandledMSU receivedMSU ( const SS7MSU & msu,
const SS7Label & label,
SS7Layer3 * network,
int sls )
protectedvirtual

Process a MSU received from a Layer 3 component

Parameters
msuMessage data, starting with Service Indicator Octet
labelRouting label of the received MSU
networkNetwork layer that delivered the MSU
slsSignalling Link the MSU was received from
Returns
Result of MSU processing

Implements SS7L3User.

References SS7Layer4::network().

◆ recover()

void recover ( const SS7Label & link,
int sequence )
protected

Recover MSUs from a link

Parameters
linkSignalling Link to recover identified by a routing label
sequenceStarting sequence number to recover

◆ timerTick()

virtual void timerTick ( const Time & when)
protectedvirtual

Method called periodically by the engine to retransmit messages

Parameters
whenTime to use as computing base for timers

Reimplemented from SignallingComponent.


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