Yate
|
A SS7 MSU route. More...
#include <yatesig.h>
Public Member Functions | |
SS7Route (unsigned int packed, unsigned int priority=0) | |
virtual | ~SS7Route () |
void | attach (SS7Layer3 *network, SS7PointCode::Type type) |
bool | detach (SS7Layer3 *network) |
int | transmitMSU (const SS7Router *router, const SS7MSU &msu, const SS7Label &label, int sls) |
Friends | |
class | SS7Layer3 |
A SS7 MSU route.
Keeps a packed destination point code, a network priority or a list of networks used to route to the enclosed destination point code
SS7Route | ( | unsigned int | packed, |
unsigned int | priority = 0 |
||
) | [inline] |
Constructor
packed | The packed value of the destination point code |
priority | Optional value of the network priority |
virtual ~SS7Route | ( | ) | [inline, virtual] |
Destructor
void attach | ( | SS7Layer3 * | network, |
SS7PointCode::Type | type | ||
) |
Attach a network to use for this destination or change its priority. This method is thread safe
network | The network to attach or change priority |
type | The point code type used to get the priority from the given network or the networks already in the list |
bool detach | ( | SS7Layer3 * | network | ) |
Remove a network from the list without deleting it. This method is thread safe
network | The network to remove |
Try to transmit a MSU through one of the attached networks. This method is thread safe
router | The router requesting the operation (used for debug) |
msu | Message data, starting with Service Indicator Octet |
label | Routing label of the MSU |
sls | Signalling Link Selection, negative to choose best |