class SS7Router

Main router for SS7 message transfer and applications. More...

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

Public Methods

Protected Methods

Protected Members


Detailed Description

A message router between Transfer and Application layers. Messages are distributed according to the service type.

 SS7Router (const NamedList& params)

SS7Router

Default constructor

Parameters:
paramsThe list with the parameters

bool  initialize (const NamedList* config)

initialize

[virtual]

Configure and initialize the router, maintenance and management

Parameters:
configOptional configuration parameters override

Returns: True if the router was initialized properly

Reimplemented from SignallingComponent.

int  transmitMSU (const SS7MSU& msu, const SS7Label& label, int sls = -1)

transmitMSU

[virtual]

Push a Message Signal Unit down the protocol stack

Parameters:
msuMessage data, starting with Service Indicator Octet
labelRouting label of the MSU to use in routing
slsSignalling Link Selection, negative to choose best

Returns: Link the message was successfully queued to, negative for error

Reimplemented from SS7Layer3.

bool  operational (int sls = -1)

operational

[const virtual]

Check if the router is fully operational

Parameters:
slsSignalling Link to check, negative to check if any is operational

Returns: True if the router is enabled and operational

Reimplemented from SS7Layer3.

void  attach (SS7Layer3* network)

attach

[virtual]

Attach a SS7 Layer 3 (network) to the router. Attach the router to the given network

Parameters:
networkPointer to network to attach

Reimplemented from SS7L3User.

void  detach (SS7Layer3* network)

detach

[virtual]

Detach a SS7 Layer 3 (network) from the router. Detach the router from the given network

Parameters:
networkPointer to network to detach

Reimplemented from SignallingComponent.

void  attach (SS7Layer4* service)

attach

Attach a SS7 Layer 4 (service) to the router. Attach itself to the service

Parameters:
servicePointer to service to attach

Reimplemented from SS7L3User.

void  detach (SS7Layer4* service)

detach

Detach a SS7 Layer 4 (service) from the router. Detach itself from the service

Parameters:
servicePointer to service to detach

Reimplemented from SignallingComponent.

bool  receivedMSU (const SS7MSU& msu, const SS7Label& label, SS7Layer3* network, int sls)

receivedMSU

[protected virtual]

Process a MSU received from the Layer 3 component

Parameters:
msuMessage data, starting with Service Indicator Octet
labelRouting label of the received MSU
networkNetwork layer that delivered the MSU
slsSignalling Link the MSU was received from

Returns: True if the MSU was processed

Reimplemented from SS7L3User.

void  notify (SS7Layer3* network, int sls)

notify

[protected virtual]

Process a notification generated by the attached network layer

Parameters:
networkNetwork or linkset that generated the notification
slsSignallink Link that generated the notification, negative if none

Returns: True if notification was processed

Reimplemented from SS7L3User.

ObjList m_layer3

m_layer3

[protected]

ObjList m_layer4

m_layer4

[protected]

int m_changes

m_changes

[protected]


Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54.