Yate
|
#include <yatesig.h>
Public Member Functions | |
SccpRemote (SS7PointCode::Type pcType) | |
SccpRemote (unsigned int pointcode, SS7PointCode::Type pcType) | |
virtual | ~SccpRemote () |
bool | initialize (const String ¶ms) |
SCCPManagement::SccpStates | getState () |
SccpSubsystem * | getSubsystem (int ssn) |
void | setState (SCCPManagement::SccpStates state) |
const SS7PointCode & | getPointCode () |
int | getPackedPointcode () |
const char * | getPointCodeType () |
void | dump (String &dest, bool extended=false) |
bool | changeSubsystemState (int ssn, SCCPManagement::SccpStates newState) |
ObjList & | getSubsystems () |
void | setCongestion (unsigned int cl) |
void | resetCongestion () |
unsigned int | getCongestion () |
Helper class to keep a remote sccp
SccpRemote | ( | SS7PointCode::Type | pcType | ) |
Constructor
pcType | The pointcode type |
SccpRemote | ( | unsigned int | pointcode, |
SS7PointCode::Type | pcType | ||
) |
Constructor. Construncot an Remote sccp from given pointcode and pointcode type
pointcode | Integer value assigned to remote pointcode. |
pcType | Remote pointcode type |
virtual ~SccpRemote | ( | ) | [virtual] |
Destructor
bool changeSubsystemState | ( | int | ssn, |
SCCPManagement::SccpStates | newState | ||
) |
Helper method to change a subsystem state
ssn | The subsystem ssn |
newState | The subsystem new state |
Dump this sccp status an all it's subsystems
dest | Destination string |
extended | True to append the subsystems status |
unsigned int getCongestion | ( | ) | [inline] |
Helper method to obtain the congestion level
int getPackedPointcode | ( | ) | [inline] |
Obtain the pointcode as an integer
References SS7PointCode::pack().
const SS7PointCode& getPointCode | ( | ) | [inline] |
const char* getPointCodeType | ( | ) | [inline] |
Obtain a string representation of the remote pointcode type
References TelEngine::lookup().
SCCPManagement::SccpStates getState | ( | ) | [inline] |
SccpSubsystem* getSubsystem | ( | int | ssn | ) |
Find a subsystem stored in remote subsystems list
ssn | The subsystem number of the remote subsystem |
ObjList& getSubsystems | ( | ) | [inline] |
Helper method to obtain remote sccp's subsystems list
bool initialize | ( | const String & | params | ) |
Initialize the pointcode and subsystems list from a string
params | String containing the pointcode and the subsystems list |
void resetCongestion | ( | ) | [inline] |
Helper method to reset congestion level
void setCongestion | ( | unsigned int | cl | ) | [inline] |
Helper method to set congestion level
cl | The new congestion level |
void setState | ( | SCCPManagement::SccpStates | state | ) |