SS7MTP3 Class Reference

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

#include <yatesig.h>

Inheritance diagram for SS7MTP3:

SS7Layer3 SS7L2User Mutex SignallingComponent SignallingComponent GenObject DebugEnabler GenObject DebugEnabler

List of all members.

Public Member Functions

 SS7MTP3 (const NamedList &params)
virtual ~SS7MTP3 ()
virtual int transmitMSU (const SS7MSU &msu, const SS7Label &label, int sls=-1)
virtual bool operational (int sls=-1) const
virtual void attach (SS7Layer2 *link)
virtual void detach (SS7Layer2 *link)
virtual void destruct ()
unsigned int linksTotal () const
unsigned int linksActive () const

Protected Member Functions

virtual bool receivedMSU (const SS7MSU &msu, SS7Layer2 *link, int sls)
virtual void notify (SS7Layer2 *link)
unsigned int countLinks ()
void setDumper (SignallingDumper *dumper=0)


Detailed Description

SS7 Layer 3 implementation on top of Layer 2.

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


Constructor & Destructor Documentation

SS7MTP3 ( const NamedList params  ) 

Constructor

Parameters:
params Layer's parameters

virtual ~SS7MTP3 (  )  [virtual]

Destructor


Member Function Documentation

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 used in routing
sls Signalling Link Selection, negative to choose best
Returns:
Link the message was successfully queued to, negative for error

Implements SS7Layer3.

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

Check if the network/linkset is fully operational

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

Implements SS7Layer3.

virtual void attach ( SS7Layer2 link  )  [virtual]

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

Parameters:
link Pointer to data link to attach

Implements SS7L2User.

virtual void detach ( SS7Layer2 link  )  [virtual]

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

Parameters:
link Pointer to data link to detach

Implements SS7L2User.

virtual void destruct (  )  [virtual]

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

Reimplemented from GenObject.

unsigned int linksTotal (  )  const [inline]

Get the total number of links attached

Returns:
Number of attached data links

unsigned int linksActive (  )  const [inline]

Get the number of links that are currently operational

Returns:
Number of operational data links

virtual bool receivedMSU ( const SS7MSU msu,
SS7Layer2 link,
int  sls 
) [protected, virtual]

Process a MSU received from the Layer 2 component

Parameters:
msu Message data, starting with Service Indicator Octet
link Data link that delivered the MSU
sls Signalling Link the MSU was received from
Returns:
True if the MSU was processed

Implements SS7L2User.

virtual void notify ( SS7Layer2 link  )  [protected, virtual]

Process a notification generated by the attached data link

Parameters:
link Data link that generated the notification
Returns:
True if notification was processed

Implements SS7L2User.

unsigned int countLinks (  )  [protected]

Count the total and active number of links

Returns:
Number of active links

void setDumper ( SignallingDumper dumper = 0  )  [protected]

Set or remove a data dumper

Parameters:
dumper Pointer to the data dumper object, NULL to remove


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

Generated on Mon Aug 11 16:17:54 2008 for Yate by  doxygen 1.5.6