Qore Programming Language Reference Manual 2.0.0
|
Abstract poll operation object returned by Socket polling methods. More...
#include <QC_SocketPollOperationBase.dox.h>
Public Member Methods | |
constructor () | |
Throws an exception; this class is not usable by Qore classes. | |
destructor () | |
Destroys the object. | |
string | getGoal () |
Returns the goal. | |
auto | getOutput () |
Returns any output generated by any completed poll action. | |
string | getState () |
Returns the current state. | |
bool | goalReached () |
Returns True when the goal as been reached. | |
Public Member Methods inherited from Qore::AbstractPollOperation | |
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 object returned by Socket polling methods.
This class implements the polling logic and the state machine behind it
It has two private members:
This class is only usable by internal classes; it is not directly usable by Qore classes.
Qore::SocketPollOperationBase::constructor | ( | ) |
Throws an exception; this class is not usable by Qore classes.
INTERNAL-ONLY | this class is not usable by Qore classes |
string Qore::SocketPollOperationBase::getGoal | ( | ) |
Returns the goal.
auto Qore::SocketPollOperationBase::getOutput | ( | ) |
Returns any output generated by any completed poll action.
string Qore::SocketPollOperationBase::getState | ( | ) |
bool Qore::SocketPollOperationBase::goalReached | ( | ) |
Returns True when the goal as been reached.