|
Yate
|
Abstract SS7 SCCP interface. More...
#include <yatesig.h>
Public Types | |
| enum | Type { CoordinateRequest = 0, CoordinateConfirm = 1, CoordinateIndication = 2, CoordinateResponse = 3, StatusIndication = 4, StatusRequest = 5, PointCodeStatusIndication = 6, TraficIndication = 7, SubsystemStatus = 8 } |
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) |
Static Public Member Functions | |
| static const TokenDict * | notifTypes () |
Protected Member Functions | |
| NamedList * | translateGT (const NamedList ¶ms, const String &prefix) |
| 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 () |
Friends | |
| class | SCCPManagement |
Abstract SS7 SCCP interface.
An interface to a SS7 Signalling Connection Control Part
| SCCP | ( | ) |
Constructor
| virtual ~SCCP | ( | ) | [virtual] |
Destructor
Attach an Global Title Translator to this SS7 SCCP
| gtt | Pointer to the Global Title Translator |
| virtual bool isEndpoint | ( | ) | [inline, protected, virtual] |
| bool managementMessage | ( | Type | type, |
| NamedList & | params | ||
| ) | [protected] |
Broadcast a management message to all attached users
| type | The type of notification |
| params | The list of parameters |
| virtual bool managementStatus | ( | Type | type, |
| NamedList & | params | ||
| ) | [virtual] |
Receive management information from attached users.
| type | The type of management message |
| params | List of parameters (Affected subsystem [M]) |
Reimplemented in SS7SCCP.
| static const TokenDict* notifTypes | ( | ) | [static] |
Obtain the dictionary for notifications types
| HandledMSU notifyMessage | ( | DataBlock & | data, |
| NamedList & | params, | ||
| int | ssn | ||
| ) | [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 |
| HandledMSU pushMessage | ( | DataBlock & | data, |
| NamedList & | params, | ||
| int | ssn | ||
| ) | [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 |
| virtual int sendMessage | ( | DataBlock & | data, |
| const NamedList & | params | ||
| ) | [virtual] |
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.np : integer GT numbering plan .gt.encoding : integer GT encoding scheme .gt.tt : 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.
| NamedList* translateGT | ( | const NamedList & | params, |
| const String & | prefix | ||
| ) | [protected] |
Translate a Global Title
| params | The Global Title content |
| prefix | The prefix of the global title content parameters |
1.7.6.1