class SS7Route
|
A SS7 MSU route. More... |
|
|
Public Methods
- inline 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)
Keeps a packed destination point code, a network priority or a list of networks used
to route to the enclosed destination point code
inline SS7Route (unsigned int packed, unsigned int priority = 0)
| SS7Route |
Constructor
Parameters:
packed | The packed value of the destination point code
|
priority | Optional value of the network priority
|
[virtual]
Destructor
void attach (SS7Layer3* network, SS7PointCode::Type type)
| attach |
Attach a network to use for this destination or change its priority.
This method is thread safe
Parameters:
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)
| detach |
Remove a network from the list without deleting it.
This method is thread safe
Parameters:
network | The network to remove
|
Returns: False if the list of networks is empty
int transmitMSU (const SS7Router* router, const SS7MSU& msu, const SS7Label& label, int sls)
| transmitMSU |
Try to transmit a MSU through one of the attached networks.
This method is thread safe
Parameters:
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
|
Returns: Link the message was successfully queued to, negative for error
Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54. |