class SS7Layer4

Abstract SS7 layer 4 (application) protocol. More...

Full nameTelEngine::SS7Layer4
Definition#include <libs/ysig/yatesig.h>
InheritsTelEngine::SS7L3User [public ]
Inherited bySS7BICC, SS7ISUP, SS7Management, SS7SCCP, SS7TUP, SS7Testing
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Protected Methods

Protected Members


Detailed Description

An interface to a Layer 4 (application) SS7 protocol

bool  initialize (const NamedList* config)

initialize

[virtual]

Initialize the application layer, connect it to the SS7 router

Parameters:
configOptional configuration parameters override

Returns: True if the application was initialized properly

Reimplemented from SignallingComponent.

void  attach (SS7Layer3* network)

attach

[virtual]

Attach a SS7 network or router to this service. Detach itself from the old one if valid

Parameters:
networkPointer to network or router to attach

Reimplemented from SS7L3User.

inline SS7Layer3*  network ()

network

[const]

Retrieve the SS7 network or router to which this service is attached

Returns: Pointer to the network or router this service is attached to

inline unsigned char  sio ()

sio

[const]

Get the default sending Service Information Octet for this protocol

Returns: SIO value

inline unsigned char  sif ()

sif

[const]

Get the Service Information Field (SS7 protocol number)

Returns: SIF value used in matching and sending MSUs

inline unsigned char  ssf ()

ssf

[const]

Get the default sending Service Switching Function bits for this protocol

Returns: Combined Priority and Network Indicator bits

inline unsigned char  prio ()

prio

[const]

Get the default sending Priority bits for this protocol

Returns: Priority bits

inline unsigned char  ni ()

ni

[const]

Get the default sending Network Indicator bits for this protocol

Returns: Network Indicator bits

unsigned char  getSIO (const NamedList& params, unsigned char sif, unsigned char prio, unsigned char ni)

getSIO

[static]

Get a SIO value from a parameters list

Parameters:
paramsParameter list to retrieve "service", "priority" and "netindicator"
sifDefault Service Information Field to apply parameters to
prioDefault Priority Field to apply parameters to
niDefault Network Indicator Field to apply parameters to

Returns: Adjusted SIO value

inline unsigned char  getSIO (const NamedList& params, unsigned char sif, unsigned char ssf)

getSIO

[static]

Get a SIO value from a parameters list

Parameters:
paramsParameter list to retrieve "service", "priority" and "netindicator"
sifDefault Service Information Field to apply parameters to
ssfDefault Subservice Field to apply parameters to

Returns: Adjusted SIO value

inline unsigned char  getSIO (const NamedList& params, unsigned char sio)

getSIO

[static]

Get a SIO value from a parameters list

Parameters:
paramsParameter list to retrieve "service", "priority" and "netindicator"
sioDefault SIO to apply parameters to

Returns: Adjusted SIO value

inline unsigned char  getSIO (const NamedList& params)

getSIO

[const]

Get a SIO value from a parameters list

Parameters:
paramsParameter list to retrieve "service", "priority" and "netindicator"

Returns: Adjusted SIO value

 SS7Layer4 (unsigned char sio = SS7MSU::National, const NamedList* params = 0)

SS7Layer4

[protected]

Constructor

Parameters:
sioDefault value of Service Information Octet
paramsOptional parameters to alter the value of SIO

inline int  transmitMSU (const SS7MSU& msu, const SS7Label& label, int sls = -1)

transmitMSU

[protected]

Ask the Layer 3 to push a Message Signal Unit down the protocol stack

Parameters:
msuMessage data, starting with Service Indicator Octet
labelRouting label of the MSU to use in routing
slsSignalling Link Selection, negative to choose best

Returns: Link the message was successfully queued to, negative for error

unsigned char m_sio

m_sio

[protected]


Generated by: paulc on bussard on Fri Apr 1 18:17:10 2011, using kdoc 2.0a54.