|
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 () |
Public Member Functions inherited from RefObject | |
| RefObject () | |
| virtual | ~RefObject () |
| virtual void * | getObject (const String &name) const |
| virtual bool | alive () const |
| bool | ref () |
| bool | deref () |
| int | refcount () const |
| virtual void | destruct () |
Public Member Functions inherited from GenObject | |
| GenObject () | |
| virtual | ~GenObject () |
| virtual const String & | toString () const |
| virtual const String & | traceId () const |
| NamedCounter * | getObjCounter () const |
| NamedCounter * | setObjCounter (NamedCounter *counter) |
Public Member Functions inherited from Mutex | |
| Mutex (bool recursive=false, const char *name=0) | |
| Mutex (const Mutex &original) | |
| ~Mutex () | |
| Mutex & | operator= (const Mutex &original) |
| virtual bool | lock (long maxwait=-1) |
| virtual bool | unlock () |
| virtual bool | locked () const |
| const char * | owner () const |
| bool | recursive () const |
Public Member Functions inherited from Lockable | |
| virtual | ~Lockable () |
| virtual bool | check (long maxwait=-1) |
| virtual bool | unlockAll () |
Additional Inherited Members | |
Static Public Member Functions inherited from RefObject | |
| static bool | alive (const RefObject *obj) |
| static bool | efficientIncDec () |
Static Public Member Functions inherited from GenObject | |
| static void * | getObject (const String &name, const GenObject *obj) |
| static bool | getObjCounting () |
| static void | setObjCounting (bool enable) |
| static NamedCounter * | getObjCounter (const String &name, bool create=true) |
| static ObjList & | getObjCounters () |
Static Public Member Functions inherited from Mutex | |
| static int | count () |
| static int | locks () |
| static bool | efficientTimedLock () |
Static Public Member Functions inherited from Lockable | |
| static void | wait (unsigned long maxwait) |
| static unsigned long | wait () |
| static void | startUsingNow () |
| static void | enableSafety (bool safe=true) |
| static bool | safety () |
Protected Member Functions inherited from RefObject | |
| virtual void | zeroRefs () |
| bool | resurrect () |
| virtual void | destroyed () |
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 |
Destructor
| bool changeSubsystemState | ( | int | ssn, |
| SCCPManagement::SccpStates | newState ) |
Helper method to change a subsystem state
| ssn | The subsystem ssn |
| newState | The subsystem new state |
| void dump | ( | String & | dest, |
| bool | extended = false ) |
Dump this sccp status an all it's subsystems
| dest | Destination string |
| extended | True to append the subsystems status |
|
inline |
Helper method to obtain the congestion level
|
inline |
Obtain the pointcode as an integer
|
inline |
|
inline |
Obtain a string representation of the remote pointcode type
References SS7PointCode::lookup().
|
inline |
| SccpSubsystem * getSubsystem | ( | int | ssn | ) |
Find a subsystem stored in remote subsystems list
| ssn | The subsystem number of the remote subsystem |
|
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 |
|
inline |
Helper method to reset congestion level
|
inline |
Helper method to set congestion level
| cl | The new congestion level |
| void setState | ( | SCCPManagement::SccpStates | state | ) |