SS7Router Class Reference

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

#include <yatesig.h>

Inheritance diagram for SS7Router:

SS7L3User SS7Layer3 Mutex SignallingComponent SignallingComponent GenObject DebugEnabler GenObject DebugEnabler

List of all members.

Public Member Functions

 SS7Router (const NamedList &params)
virtual int transmitMSU (const SS7MSU &msu, const SS7Label &label, int sls=-1)
virtual bool operational (int sls=-1) const
virtual void attach (SS7Layer3 *network)
virtual void detach (SS7Layer3 *network)
void attach (SS7Layer4 *service)
void detach (SS7Layer4 *service)
virtual void * getObject (const String &name) const

Protected Member Functions

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

Protected Attributes

ObjList m_layer3
ObjList m_layer4


Detailed Description

Main router for SS7 message transfer and applications.

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


Constructor & Destructor Documentation

SS7Router ( const NamedList params  ) 

Default constructor

Parameters:
params The list with the parameters


Member Function Documentation

void attach ( SS7Layer4 service  ) 

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

Parameters:
service Pointer to service to attach

virtual void attach ( SS7Layer3 network  )  [virtual]

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

Parameters:
network Pointer to network to attach

Implements SS7L3User.

void detach ( SS7Layer4 service  ) 

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

Parameters:
service Pointer to service to detach

virtual void detach ( SS7Layer3 network  )  [virtual]

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

Parameters:
network Pointer to network to detach

virtual void* getObject ( const String name  )  const [virtual]

Get a pointer to this object or other data

Parameters:
name Object name
Returns:
The requested pointer or 0 if not exists

Reimplemented from GenObject.

virtual void notify ( SS7Layer3 network,
int  sls 
) [protected, virtual]

Process a notification generated by the attached network layer

Parameters:
network Network or linkset that generated the notification
sls Signallink Link that generated the notification, negative if none
Returns:
True if notification was processed

Reimplemented from SS7L3User.

virtual bool operational ( int  sls = -1  )  const [virtual]

Check if the router is fully operational

Parameters:
sls Signalling Link to check, negative to check if any is operational
Returns:
True if the router is enabled and operational

Implements SS7Layer3.

virtual bool receivedMSU ( const SS7MSU msu,
const SS7Label label,
SS7Layer3 network,
int  sls 
) [protected, virtual]

Process a MSU received from the Layer 3 component

Parameters:
msu Message data, starting with Service Indicator Octet
label Routing label of the received MSU
network Network layer that delivered the MSU
sls Signalling Link the MSU was received from
Returns:
True if the MSU was processed

Implements SS7L3User.

virtual int transmitMSU ( const SS7MSU msu,
const SS7Label label,
int  sls = -1 
) [virtual]

Push a Message Signal Unit down the protocol stack

Parameters:
msu Message data, starting with Service Indicator Octet
label Routing label of the MSU to use in routing
sls Signalling Link Selection, negative to choose best
Returns:
Link the message was successfully queued to, negative for error

Implements SS7Layer3.


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

Generated on Sun Dec 7 21:45:27 2008 for Yate by  doxygen 1.5.7.1