Qore Programming Language Reference Manual 1.18.1
|
Abstract poll operation objects provide the polling interface for pollable objects. More...
#include <QC_AbstractPollOperation.dox.h>
Public Member Methods | |
abstract *hash< SocketPollInfo > | continuePoll () |
Returns a socket poll hash if polling should continue or NOTHING if complete. More... | |
abstract string | getGoal () |
Returns the goal. More... | |
auto | getOutput () |
Returns any output generated by any completed poll action. More... | |
abstract string | getState () |
Returns the current state. More... | |
abstract bool | goalReached () |
Returns True when the goal as been reached. More... | |
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
|
pure virtual |
Returns a socket poll hash if polling should continue or NOTHING if complete.
Implemented in Qore::SocketPollOperation.
|
pure virtual |
Returns the goal.
Implemented in Qore::SocketPollOperationBase.
auto Qore::AbstractPollOperation::getOutput | ( | ) |
Returns any output generated by any completed poll action.
|
pure virtual |
|
pure virtual |
Returns True when the goal as been reached.
Implemented in Qore::SocketPollOperationBase.