Qore RestClient Module Reference 1.10
|
REST ping polling class. More...
#include <RestClient.qm.dox.h>
Public Member Methods | |
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. More... | |
string | getState () |
Returns the current state. More... | |
bool | goalReached () |
Returns True when the goal as been reached. More... | |
Private Member Methods | |
Mutex | m () |
Lock for atomicity. | |
Private 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.