| Qore Programming Language Reference Manual 2.2.0

Loading...
Searching...
No Matches
QC_AbstractPollOperation.dox.h
1
2 namespace Qore {
4
6 class AbstractPollOperation {
7
8 public:
10
12nothing abort();
13
14 public:
16
21abstract *hash<SocketPollInfo> continuePoll();
22
23 public:
25
27abstract string getGoal();
28
29 public:
31
36 auto getOutput();
37
38 public:
40
42abstract string getState();
43
44 public:
46
48abstract bool goalReached();
49};
50}
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::abort
nothing abort()
Aborts any asynchroous operation in progress and closes the connected object.
Qore::AbstractPollOperation::goalReached
abstract bool goalReached()
Returns True when the goal as been reached.
Qore::AbstractPollOperation::continuePoll
abstract *hash< SocketPollInfo > continuePoll()
Returns a socket poll hash if polling should continue or NOTHING if complete.
Qore::AbstractPollOperation::getGoal
abstract string getGoal()
Returns the goal.
Qore::AbstractPollOperation::getOutput
auto getOutput()
Returns any output generated by any completed poll action.
Qore::hash
hash< auto > hash(object obj)
Returns a hash of an object's members.
Qore
main Qore-language namespace
Definition Pseudo_QC_All.dox.h:3