Yate
|
Abstract SS7 layer 4 (application) protocol. More...
#include <yatesig.h>
Public Member Functions | |
virtual void | destroyed () |
virtual bool | initialize (const NamedList *config) |
virtual void | attach (SS7Layer3 *network) |
SS7Layer3 * | network () const |
unsigned char | sio () const |
unsigned char | sif () const |
unsigned char | ssf () const |
unsigned char | prio () const |
unsigned char | ni () const |
unsigned char | getSIO (const NamedList ¶ms) const |
Static Public Member Functions | |
static unsigned char | getSIO (const NamedList ¶ms, unsigned char sif, unsigned char prio, unsigned char ni) |
static unsigned char | getSIO (const NamedList ¶ms, unsigned char sif, unsigned char ssf) |
static unsigned char | getSIO (const NamedList ¶ms, unsigned char sio) |
Protected Member Functions | |
SS7Layer4 (unsigned char sio=SS7MSU::National, const NamedList *params=0) | |
int | transmitMSU (const SS7MSU &msu, const SS7Label &label, int sls=-1) |
Protected Attributes | |
unsigned char | m_sio |
Abstract SS7 layer 4 (application) protocol.
An interface to a Layer 4 (application) SS7 protocol
Constructor
sio | Default value of Service Information Octet |
params | Optional parameters to alter the value of SIO |
virtual void destroyed | ( | ) | [virtual] |
This method is called to clean up and destroy the object after the reference counter becomes zero
Reimplemented from SignallingComponent.
static unsigned char getSIO | ( | const NamedList & | params, |
unsigned char | sif, | ||
unsigned char | prio, | ||
unsigned char | ni | ||
) | [static] |
Get a SIO value from a parameters list
params | Parameter list to retrieve "service", "priority" and "netindicator" |
sif | Default Service Information Field to apply parameters to |
prio | Default Priority Field to apply parameters to |
ni | Default Network Indicator Field to apply parameters to |
static unsigned char getSIO | ( | const NamedList & | params, |
unsigned char | sif, | ||
unsigned char | ssf | ||
) | [inline, static] |
Get a SIO value from a parameters list
params | Parameter list to retrieve "service", "priority" and "netindicator" |
sif | Default Service Information Field to apply parameters to |
ssf | Default Subservice Field to apply parameters to |
References SS7Layer4::getSIO().
Referenced by SS7Layer4::getSIO().
Get a SIO value from a parameters list
params | Parameter list to retrieve "service", "priority" and "netindicator" |
sio | Default SIO to apply parameters to |
References SS7Layer4::getSIO().
Referenced by SS7Layer4::getSIO().
Get a SIO value from a parameters list
params | Parameter list to retrieve "service", "priority" and "netindicator" |
References SS7Layer4::getSIO().
Referenced by SS7Layer4::getSIO().
virtual bool initialize | ( | const NamedList * | config | ) | [virtual] |
Initialize the application layer, connect it to the SS7 router
config | Optional configuration parameters override |
Reimplemented from SignallingComponent.
Reimplemented in SS7SCCP, SS7ISUP, and SS7Testing.
Retrieve the SS7 network or router to which this service is attached
unsigned char ni | ( | ) | const [inline] |
Get the default sending Network Indicator bits for this protocol
unsigned char prio | ( | ) | const [inline] |
Get the default sending Priority bits for this protocol
unsigned char sif | ( | ) | const [inline] |
Get the Service Information Field (SS7 protocol number)
unsigned char sio | ( | ) | const [inline] |
Get the default sending Service Information Octet for this protocol
unsigned char ssf | ( | ) | const [inline] |
Get the default sending Service Switching Function bits for this protocol
int transmitMSU | ( | const SS7MSU & | msu, |
const SS7Label & | label, | ||
int | sls = -1 |
||
) | [inline, protected] |
Ask the Layer 3 to push a Message Signal Unit down the protocol stack
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 |
unsigned char m_sio [protected] |
Service Information Octet (SIO) for this protocol