SS7Route Class Reference

A SS7 MSU route. More...

#include <yatesig.h>

Inheritance diagram for SS7Route:

GenObject

List of all members.

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


Detailed Description

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


Constructor & Destructor Documentation

SS7Route ( unsigned int  packed,
unsigned int  priority = 0 
) [inline]

Constructor

Parameters:
packed The packed value of the destination point code
priority Optional value of the network priority

virtual ~SS7Route (  )  [inline, virtual]

Destructor


Member Function Documentation

void attach ( SS7Layer3 network,
SS7PointCode::Type  type 
)

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  ) 

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 
)

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


The documentation for this class was generated from the following file:

Generated on Sun Dec 7 21:36:14 2008 for Yate by  doxygen 1.5.7.1