|
Yate
|
Public Member Functions | |
| SccpLocalSubsystem (unsigned char ssn, u_int64_t coordInterval, u_int64_t istInterval, unsigned char smi=0) | |
| virtual | ~SccpLocalSubsystem () |
| unsigned char | getSSN () |
| void | setState (SCCPManagement::SccpStates newState) |
| SCCPManagement::SccpStates | getState () |
| void | startCoord () |
| bool | ignoreTests () |
| void | setIgnoreTests (bool ignore) |
| bool | timeout () |
| void | manageTimeout (SCCPManagement *mgm) |
| void | stopCoordTimer () |
| unsigned char | getSmi () |
| void | dump (String &dest) |
| bool | receivedSOG (unsigned char ssn, int pointcode) |
| void | resetTimers () |
| void | clearBackups () |
| void | appendBackup (RemoteBackupSubsystem *backup) |
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 () |
| SccpLocalSubsystem | ( | unsigned char | ssn, |
| u_int64_t | coordInterval, | ||
| u_int64_t | istInterval, | ||
| unsigned char | smi = 0 ) |
Constructor
| ssn | The subsystem number |
| coordInterval | The time interval for coordinate changed timer |
| istInterval | The time interval for ignore status test timer |
| smi | Subsystem multiplicity indicator |
|
virtual |
Destructor
|
inline |
Append new backup subsystem
| backup | The backup subsystem to append |
References Mutex::lock().
|
inline |
Clear remote backup subsystems
References Mutex::lock().
| void dump | ( | String & | dest | ) |
Dump this sccp subsystem status
| dest | Destination string |
|
inline |
Obtain the subsystem multiplicity indicator of this subsystem
|
inline |
Obtain the subsystem number number of this sccp subsystem
|
inline |
Obtain the state associated with this sccp subsystem
|
inline |
Check if this subsystem should ignore SST (Subsystem status test)
| void manageTimeout | ( | SCCPManagement * | mgm | ) |
Handle coord timer timeout
| mgm | Pointer to sccp management who owns this sccp local subsystem |
| bool receivedSOG | ( | unsigned char | ssn, |
| int | pointcode ) |
Process a subsystem out of service grant message
| ssn | The remote ssn |
| pointcode | The remote pointcode |
|
inline |
Helper method used to reset timers
| void setIgnoreTests | ( | bool | ignore | ) |
Inform this subsystem if should ignore subsystem status tests
| ignore | True to ignore subsystem status tests |
|
inline |
Set a new state of this SCCP subsystem
| newState | Thew new state to set |
|
inline |
Start coordinate change timer
|
inline |
Stop coordinate change timer
| bool timeout | ( | ) |
Check if coordinate change timer has timed out