|
Yate
|
Public Member Functions | |
| SubsystemStatusTest (u_int32_t interval) | |
| virtual | ~SubsystemStatusTest () |
| bool | startTest (SccpRemote *remoteSccp, SccpSubsystem *rSubsystem) |
| SccpRemote * | getRemote () |
| bool | timeout () |
| SccpSubsystem * | getSubsystem () |
| void | restartTimer () |
| bool | markAllowed () |
| void | setAllowed (bool allowed) |
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) |
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 () |
Protected Member Functions inherited from RefObject | |
| virtual void | zeroRefs () |
| bool | resurrect () |
| virtual void | destroyed () |
|
inline |
Constructor
| interval | The time interval in milliseconds representing the test duration |
|
virtual |
Destructor
|
inline |
Obtain the remote SCCP of this status test
|
inline |
Get the subsystem who caused this test
|
inline |
Helper method used to find if we should mark the remote subsystem as allowed at the end of the test
| void restartTimer | ( | ) |
Restart subsystem status test with exponential backoff
|
inline |
Mark the tested subsystem as allowed at the end of the test
| allowed | True to set the subsystem allowed at the end of the test |
| bool startTest | ( | SccpRemote * | remoteSccp, |
| SccpSubsystem * | rSubsystem ) |
Start this subsystem status test
| remoteSccp | The remote sccp where the subsystem is located |
| rSubsystem | The remote subsystem for witch the test is performed |
|
inline |
Helper method to check for timeouts