class SS7MTP3

SS7 Layer 3 implementation on top of Layer 2. More...

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

Public Types

Public Methods

Protected Methods


Detailed Description

Q.704 SS7 Layer 3 (Network) implementation on top of SS7 Layer 2

enum Operation { Pause = 0x100, Resume = 0x200, Status = 0x400, }

Operation

Control primitives

 SS7MTP3 (const NamedList& params)

SS7MTP3

Constructor

Parameters:
paramsLayer's parameters

 ~SS7MTP3 ()

~SS7MTP3

[virtual]

Destructor

bool  initialize (const NamedList* config)

initialize

[virtual]

Configure and initialize the MTP3 and all its links

Parameters:
configOptional configuration parameters override

Returns: True if MTP3 and at least one link were 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 used 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 network/linkset is fully operational

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

Returns: True if the linkset is enabled and operational

Reimplemented from SS7Layer3.

bool  control (Operation oper, NamedList* params = 0)

control

[virtual]

Execute a control operation on the linkset

Parameters:
operOperation to execute
paramsOptional parameters for the operation

Returns: True if the command completed successfully, for query operations also indicates the linkset is enabled and operational

Reimplemented from SignallingComponent.

void  attach (SS7Layer2* link)

attach

[virtual]

Attach a SS7 Layer 2 (data link) to the network transport. Attach itself to the link

Parameters:
linkPointer to data link to attach

Reimplemented from SS7Layer3.

void  detach (SS7Layer2* link)

detach

[virtual]

Detach a SS7 Layer 2 (data link) from the network transport. Remove the link's L2 user

Parameters:
linkPointer to data link to detach

Reimplemented from SignallingComponent.

bool  control (NamedList& params)

control

[virtual]

Query or modify layer's settings or operational parameters

Parameters:
paramsThe list of parameters to query or change

Returns: True if the control operation was executed

Reimplemented from SignallingComponent.

inline unsigned int  linksTotal ()

linksTotal

[const]

Get the total number of links attached

Returns: Number of attached data links

inline unsigned int  linksActive ()

linksActive

[const]

Get the number of links that are currently operational

Returns: Number of operational data links

void  destroyed ()

destroyed

[protected virtual]

Detach all links and user. Destroys the object, disposes the memory

Reimplemented from SignallingComponent.

bool  receivedMSU (const SS7MSU& msu, SS7Layer2* link, int sls)

receivedMSU

[protected virtual]

Process a MSU received from the Layer 2 component

Parameters:
msuMessage data, starting with Service Indicator Octet
linkData link that delivered the MSU
slsSignalling Link the MSU was received from

Returns: True if the MSU was processed

Reimplemented from SS7Layer3.

void  notify (SS7Layer2* link)

notify

[protected virtual]

Process a notification generated by the attached data link

Parameters:
linkData link that generated the notification

Returns: True if notification was processed

Reimplemented from SS7Layer3.

unsigned int  countLinks ()

countLinks

[protected]

Count the total and active number of links

Returns: Number of active links


Generated by: paulc on bussard on Wed Oct 21 01:57:30 2009, using kdoc 2.0a54.