SS7 Layer 3 implementation on top of Layer 2. More...
#include <yatesig.h>
Public Types | |
| enum | Operation { Pause = 0x100, Resume = 0x200, Status = 0x400 } |
Public Member Functions | |
| SS7MTP3 (const NamedList ¶ms) | |
| virtual | ~SS7MTP3 () |
| virtual bool | initialize (const NamedList *config) |
| virtual int | transmitMSU (const SS7MSU &msu, const SS7Label &label, int sls=-1) |
| virtual bool | operational (int sls=-1) const |
| virtual bool | control (Operation oper, NamedList *params=0) |
| virtual void | attach (SS7Layer2 *link) |
| virtual void | detach (SS7Layer2 *link) |
| virtual bool | control (NamedList ¶ms) |
| unsigned int | linksTotal () const |
| unsigned int | linksActive () const |
Protected Member Functions | |
| virtual void | destroyed () |
| virtual bool | receivedMSU (const SS7MSU &msu, SS7Layer2 *link, int sls) |
| virtual void | notify (SS7Layer2 *link) |
| unsigned int | countLinks () |
SS7 Layer 3 implementation on top of Layer 2.
Q.704 SS7 Layer 3 (Network) implementation on top of SS7 Layer 2
| enum Operation |
Control primitives
| virtual ~SS7MTP3 | ( | ) | [virtual] |
Destructor
| virtual void attach | ( | SS7Layer2 * | link | ) | [virtual] |
Attach a SS7 Layer 2 (data link) to the network transport. Attach itself to the link
| link | Pointer to data link to attach |
Implements SS7L2User.
| virtual bool control | ( | NamedList & | params | ) | [virtual] |
Query or modify layer's settings or operational parameters
| params | The list of parameters to query or change |
Reimplemented from SignallingComponent.
Execute a control operation on the linkset
| oper | Operation to execute | |
| params | Optional parameters for the operation |
| unsigned int countLinks | ( | ) | [protected] |
Count the total and active number of links
| virtual void destroyed | ( | ) | [protected, virtual] |
Detach all links and user. Destroys the object, disposes the memory
Reimplemented from SignallingComponent.
| virtual void detach | ( | SS7Layer2 * | link | ) | [virtual] |
Detach a SS7 Layer 2 (data link) from the network transport. Remove the link's L2 user
| link | Pointer to data link to detach |
Implements SS7L2User.
| virtual bool initialize | ( | const NamedList * | config | ) | [virtual] |
Configure and initialize the MTP3 and all its links
| config | Optional configuration parameters override |
Reimplemented from SignallingComponent.
| unsigned int linksActive | ( | ) | const [inline] |
Get the number of links that are currently operational
| unsigned int linksTotal | ( | ) | const [inline] |
Get the total number of links attached
| virtual void notify | ( | SS7Layer2 * | link | ) | [protected, virtual] |
Process a notification generated by the attached data link
| link | Data link that generated the notification |
Implements SS7L2User.
| virtual bool operational | ( | int | sls = -1 |
) | const [virtual] |
Check if the network/linkset is fully operational
| sls | Signalling Link to check, negative to check if any is operational |
Implements SS7Layer3.
Push a Message Signal Unit down the protocol stack
| msu | Message data, starting with Service Indicator Octet | |
| label | Routing label of the MSU used in routing | |
| sls | Signalling Link Selection, negative to choose best |
Implements SS7Layer3.
1.6.3