|
|
A message router between Transfer and Application layers. Messages are distributed according to the service type.
SS7Router (const NamedList& params)
| SS7Router |
Default constructor
Parameters:
params | The list with the parameters |
bool initialize (const NamedList* config)
| initialize |
[virtual]
Configure and initialize the router, maintenance and management
Parameters:
config | Optional 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:
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
Reimplemented from SS7Layer3.
bool operational (int sls = -1)
| operational |
[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
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:
network | Pointer 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:
network | Pointer 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:
service | Pointer 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:
service | Pointer 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:
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
Reimplemented from SS7L3User.
void notify (SS7Layer3* network, int sls)
| notify |
[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.
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. |