Yate
Public Member Functions
SubsystemStatusTest Class Reference
Inheritance diagram for SubsystemStatusTest:
RefObject GenObject

List of all members.

Public Member Functions

 SubsystemStatusTest (u_int32_t interval)
virtual ~SubsystemStatusTest ()
bool startTest (SccpRemote *remoteSccp, SccpSubsystem *rSubsystem)
SccpRemotegetRemote ()
bool timeout ()
SccpSubsystemgetSubsystem ()
void restartTimer ()
bool markAllowed ()
void setAllowed (bool allowed)

Constructor & Destructor Documentation

SubsystemStatusTest ( u_int32_t  interval) [inline]

Constructor

Parameters:
intervalThe time interval in milliseconds representing the test duration
virtual ~SubsystemStatusTest ( ) [virtual]

Destructor


Member Function Documentation

SccpRemote* getRemote ( ) [inline]

Obtain the remote SCCP of this status test

Returns:
Remote Sccp
SccpSubsystem* getSubsystem ( ) [inline]

Get the subsystem who caused this test

Returns:
The subsystem for who this test was initiated
bool markAllowed ( ) [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

void setAllowed ( bool  allowed) [inline]

Mark the tested subsystem as allowed at the end of the test

Parameters:
allowedTrue to set the subsystem allowed at the end of the test
bool startTest ( SccpRemote remoteSccp,
SccpSubsystem rSubsystem 
)

Start this subsystem status test

Parameters:
remoteSccpThe remote sccp where the subsystem is located
rSubsystemThe remote subsystem for witch the test is performed
Returns:
True if the test has successfully started
bool timeout ( ) [inline]

Helper method to check for timeouts

Returns:
True if timed out

The documentation for this class was generated from the following file: