class SS7Route

A SS7 MSU route. More...

Full nameTelEngine::SS7Route
Definition#include <libs/ysig/yatesig.h>
InheritsTelEngine::Mutex [public ], TelEngine::RefObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

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:
packedThe packed value of the destination point code
priorityOptional value of the network priority

 ~SS7Route ()

~SS7Route

[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:
networkThe network to attach or change priority
typeThe 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:
networkThe 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:
routerThe router requesting the operation (used for debug)
msuMessage data, starting with Service Indicator Octet
labelRouting label of the MSU
slsSignalling 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.