Yate
SS7L2User Class Referenceabstract

Abstract user of SS7 layer 2 (data link) message transfer part. More...

#include <yatesig.h>

Inheritance diagram for SS7L2User:
SignallingComponent RefObject DebugEnabler GenObject SS7MTP3

Public Member Functions

virtual void attach (SS7Layer2 *link)=0
 
virtual void detach (SS7Layer2 *link)=0
 
- Public Member Functions inherited from SignallingComponent
virtual ~SignallingComponent ()
 
virtual const StringtoString () const
 
virtual bool initialize (const NamedList *config)
 
virtual bool control (NamedList &params)
 
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)
 

Protected Member Functions

virtual bool receivedMSU (const SS7MSU &msu, SS7Layer2 *link, int sls)=0
 
virtual bool recoveredMSU (const SS7MSU &msu, SS7Layer2 *link, int sls)=0
 
virtual void notify (SS7Layer2 *link)=0
 
- 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)
 

Friends

class SS7Layer2
 

Additional Inherited Members

- 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 ()
 

Detailed Description

Abstract user of SS7 layer 2 (data link) message transfer part.

An user of a Layer 2 (data link) SS7 message transfer part

Member Function Documentation

◆ attach()

virtual void attach ( SS7Layer2 * link)
pure virtual

Attach a SS7 Layer 2 (data link) to the user component

Parameters
linkPointer to data link to attach

Implemented in SS7MTP3.

◆ detach()

virtual void detach ( SS7Layer2 * link)
pure virtual

Detach a SS7 Layer 2 (data link) from the user component

Parameters
linkPointer to data link to detach

Implemented in SS7MTP3.

◆ notify()

virtual void notify ( SS7Layer2 * link)
protectedpure virtual

Process a notification generated by the attached data link

Parameters
linkData link that generated the notification

Implemented in SS7MTP3.

◆ receivedMSU()

virtual bool receivedMSU ( const SS7MSU & msu,
SS7Layer2 * link,
int sls )
protectedpure virtual

Process a MSU received from the Layer 2 component

Parameters
msuMessage data, starting with Service Indicator Octet
linkData link that delivered the MSU
slsSignalling Link the MSU was received from
Returns
True if the MSU was processed

Implemented in SS7MTP3.

◆ recoveredMSU()

virtual bool recoveredMSU ( const SS7MSU & msu,
SS7Layer2 * link,
int sls )
protectedpure virtual

Process a MSU recovered from the Layer 2 component after failure

Parameters
msuMessage data, starting with Service Indicator Octet
linkData link from where the MSU was recovered
slsSignalling Link the MSU was recovered from
Returns
True if the MSU was processed

Implemented in SS7MTP3.


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