Qore Programming Language Reference Manual 2.0.0
|
Abstract poll operation objects provide the polling interface for pollable objects. More...
#include <QC_AbstractPollOperation.dox.h>
Public Member Methods | |
abstract __7_ hash< SocketPollInfo > | continuePoll () |
Returns a socket poll hash if polling should continue or NOTHING if complete. | |
abstract string | getGoal () |
Returns the goal. | |
auto | getOutput () |
Returns any output generated by any completed poll action. | |
abstract string | getState () |
Returns the current state. | |
abstract bool | goalReached () |
Returns True when the goal as been reached. | |
Abstract poll operation objects provide the polling interface for pollable objects.
This class implements polling logic for pollable operations and the state machine behind it
abstract __7_ hash< SocketPollInfo > Qore::AbstractPollOperation::continuePoll | ( | ) |
Returns a socket poll hash if polling should continue or NOTHING if complete.
Returns the goal.
auto Qore::AbstractPollOperation::getOutput | ( | ) |
Returns any output generated by any completed poll action.
Returns the current state.