|
Yate
|
Abstract SS7 layer 4 (application) protocol. More...
#include <yatesig.h>
Public Member Functions | |
| virtual void | destroyed () |
| virtual bool | initialize (const NamedList *config) |
| virtual void | attach (SS7Layer3 *network) |
| SS7Layer3 * | network () 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 ¶ms) const |
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) |
Static Public Member Functions | |
| static unsigned char | getSIO (const NamedList ¶ms, unsigned char sif, unsigned char prio, unsigned char ni) |
| static unsigned char | getSIO (const NamedList ¶ms, unsigned char sif, unsigned char ssf) |
| static unsigned char | getSIO (const NamedList ¶ms, unsigned char sio) |
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 () |
Protected Member Functions | |
| 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 HandledMSU | receivedMSU (const SS7MSU &msu, const SS7Label &label, SS7Layer3 *network, int sls)=0 |
| 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 | notify (SS7Layer3 *link, 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 () |
| 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 Attributes | |
| unsigned char | m_sio |
Additional Inherited Members | |
Static Protected Member Functions inherited from SS7L3User | |
| static ObjList * | getNetRoutes (SS7Layer3 *network, SS7PointCode::Type type) |
| static const ObjList * | getNetRoutes (const SS7Layer3 *network, SS7PointCode::Type type) |
Abstract SS7 layer 4 (application) protocol.
An interface to a Layer 4 (application) SS7 protocol
Constructor
| sio | Default value of Service Information Octet |
| params | Optional parameters to alter the value of SIO |
References sio().
Referenced by SS7Testing::SS7Testing().
|
virtual |
|
virtual |
This method is called to clean up and destroy the object after the reference counter becomes zero
Reimplemented from SignallingComponent.
|
inline |
|
static |
Get a SIO value from a parameters list
| params | Parameter list to retrieve "service", "priority" and "netindicator" |
| sif | Default Service Information Field to apply parameters to |
| prio | Default Priority Field to apply parameters to |
| ni | Default Network Indicator Field to apply parameters to |
|
inlinestatic |
|
inlinestatic |
|
virtual |
Initialize the application layer, connect it to the SS7 router
| config | Optional configuration parameters override |
Reimplemented from SignallingComponent.
Reimplemented in SS7ISUP, SS7SCCP, and SS7Testing.
|
inline |
Retrieve the SS7 network or router to which this service is attached
Referenced by SS7ISUP::attach(), attach(), SS7SCCP::attach(), SS7ISUP::processMSU(), SS7BICC::receivedMSU(), SS7ISUP::receivedMSU(), SS7Management::receivedMSU(), SS7SCCP::receivedMSU(), and SS7Testing::receivedMSU().
|
inline |
|
inline |
|
inline |
Get the Service Information Field (SS7 protocol number)
References m_sio.
Referenced by getSIO(), getSIO(), and SS7TUP::SS7TUP().
|
inline |
Get the default sending Service Information Octet for this protocol
References m_sio.
Referenced by SS7ISUP::buildMSU(), getSIO(), SS7BICC::SS7BICC(), SS7ISUP::SS7ISUP(), SS7Layer4(), SS7Management::SS7Management(), and SS7Testing::SS7Testing().
|
inline |
Get the default sending Service Switching Function bits for this protocol
References m_sio.
Referenced by SS7ISUP::createMSU(), and getSIO().
Ask the Layer 3 to push a Message Signal Unit down the protocol stack
| msu | Message data, starting with Service Indicator Octet |
| label | Routing label of the MSU to use in routing |
| sls | Signalling Link Selection, negative to choose best |
|
protected |