|
Yate
|
Abstract SS7 SCCP interface. More...
#include <yatesig.h>
Public Member Functions | |
| SCCP () | |
| virtual | ~SCCP () |
| virtual int | sendMessage (DataBlock &data, const NamedList ¶ms) |
| virtual bool | managementStatus (Type type, NamedList ¶ms) |
| virtual void | attach (SCCPUser *user) |
| virtual void | detach (SCCPUser *user) |
| virtual void | attachGTT (GTT *gtt) |
| virtual void | updateTables (const NamedList ¶ms) |
Public Member Functions inherited from SignallingComponent | |
| virtual | ~SignallingComponent () |
| virtual const String & | toString () const |
| virtual bool | initialize (const NamedList *config) |
| 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 const TokenDict * | notifTypes () |
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 | |
| NamedList * | translateGT (const NamedList ¶ms, const String &prefix, const String &nextPrefix) |
| HandledMSU | pushMessage (DataBlock &data, NamedList ¶ms, int ssn) |
| HandledMSU | notifyMessage (DataBlock &data, NamedList ¶ms, int ssn) |
| bool | managementMessage (Type type, NamedList ¶ms) |
| virtual bool | isEndpoint () |
| void | resolveGTParams (SS7MsgSCCP *msg, const NamedList *gtParams) |
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 | SCCPManagement |
Abstract SS7 SCCP interface.
An interface to a SS7 Signalling Connection Control Part
| SCCP | ( | ) |
Constructor
|
virtual |
Destructor
|
virtual |
|
virtual |
Attach an Global Title Translator to this SS7 SCCP
| gtt | Pointer to the Global Title Translator |
|
virtual |
|
inlineprotectedvirtual |
|
protected |
Broadcast a management message to all attached users
| type | The type of notification |
| params | The list of parameters |
|
virtual |
Receive management information from attached users.
| type | The type of management message |
| params | List of parameters (Affected subsystem [M]) |
Reimplemented in SS7SCCP.
|
static |
Obtain the dictionary for notifications types
|
protected |
Notify the users that a message failed to be delivered to destination
| data | The message data |
| params | The list of parameters |
| ssn | The ssn of the SCCP user |
|
protected |
Send a SCCP message to users list for processing
| data | The message data |
| params | The list of parameters |
| ssn | The ssn of the SCCP user |
|
protected |
Send a message
| data | Data to be transported trough SCCP protocol |
| params | SCCP parameters SCCP parameters : MessageReturn : boolean / integer True or 0x08 to return message on error. NOTE int values should me below 0x0f sequenceControl : boolean. True to send messages in sequence LocalPC : integer. Local pointcode RemotePC : integer. Remote pointcode Address Parameter: Address parameter starts with : CallingPartyAddress or CalledPartyAddress followed by: .ssn : integer (0-255) Subsequence number .pointcode : integer Packed pointcode .gt : string The digits of the global title .gt.plan : integer GT numbering plan .gt.encoding : integer GT encoding scheme .gt.translation : integer GT Translation type .gt.nature : integer Gt nature of address indicator (ITU only) Importance : integer (0-7) Importance of the message! (ITU only) |
Reimplemented in SS7SCCP.
|
protected |
Translate a Global Title
| params | The Global Title content |
| prefix | The prefix of the global title content parameters |
| nextPrefix | Other prefix of the global title content parameters |