Qore Programming Language Reference Manual  1.12.2
QC_AbstractPollOperation.dox.h
1 namespace Qore {
4 
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 }
Abstract poll operation objects provide the polling interface for pollable objects.
Definition: QC_AbstractPollOperation.dox.h:6
abstract string getState()
Returns the current state.
abstract bool goalReached()
Returns True when the goal as been reached.
abstract string getGoal()
Returns the goal.
auto getOutput()
Returns any output generated by any completed poll action.
abstract *hash< SocketPollInfo > continuePoll()
Returns a socket poll hash if polling should continue or NOTHING if complete.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3