![]() |
Qore RestClient Module Reference 1.9.3
|
REST ping polling class. More...
Public Member Functions | |
constructor (AbstractPollOperation poller) | |
Creates the object with the send/receive poller. | |
*hash< SocketPollInfo > | continuePoll () |
Returns a hash to be used for I/O polling or NOTHING in case the poll operation is complete. | |
string | getGoal () |
Returns the goal. | |
string | getState () |
Returns the current state. | |
bool | goalReached () |
Returns True when the goal as been reached. | |
Protected Member Functions | |
Mutex | m () |
Lock for atomicity. | |
Protected Attributes | |
bool | goal_reached = False |
Goal reached flag. | |
AbstractPollOperation | poller |
The polling object. | |
REST ping polling class.
Ensures a 200 response to the polling send/receive operation
|
virtual |
|
virtual |
|
virtual |
Returns True when the goal as been reached.
Implements Qore::AbstractPollOperation.