| Qore Programming Language Reference Manual 1.12.2

QC_AbstractPollOperation.dox.h
1 namespace Qore {
4
6 class AbstractPollOperation {
7
8 public:
10
15 abstract *hash<SocketPollInfo> continuePoll();
16
17 public:
19
21 abstract string getGoal();
22
23 public:
25
30 auto getOutput();
31
32 public:
34
36 abstract string getState();
37
38 public:
40
42 abstract bool goalReached();
43 };
44 }
Qore::AbstractPollOperation
Abstract poll operation objects provide the polling interface for pollable objects.
Definition: QC_AbstractPollOperation.dox.h:6
Qore::AbstractPollOperation::getState
abstract string getState()
Returns the current state.
Qore::AbstractPollOperation::goalReached
abstract bool goalReached()
Returns True when the goal as been reached.
Qore::AbstractPollOperation::getGoal
abstract string getGoal()
Returns the goal.
Qore::AbstractPollOperation::getOutput
auto getOutput()
Returns any output generated by any completed poll action.
Qore::AbstractPollOperation::continuePoll
abstract *hash< SocketPollInfo > continuePoll()
Returns a socket poll hash if polling should continue or NOTHING if complete.
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3