![]() |
Ark Server API (ASE) - Wiki
|
#include <ActiveResult.h>
Inheritance diagram for Poco::ActiveResultHolder< void >:
Collaboration diagram for Poco::ActiveResultHolder< void >:Public Member Functions | |
| ActiveResultHolder () | |
| void | wait () |
| Pauses the caller until the result becomes available. | |
| bool | tryWait (long milliseconds) |
| void | wait (long milliseconds) |
| void | notify () |
| Notifies the invoking thread that the result became available. | |
| bool | failed () const |
| std::string | error () const |
| Exception * | exception () const |
| void | error (const Exception &exc) |
| Sets the exception. | |
| void | error (const std::string &msg) |
| Sets the exception. | |
Public Member Functions inherited from Poco::RefCountedObject | |
| RefCountedObject () | |
| void | duplicate () const |
| void | release () const noexcept |
| Increments the object's reference count. | |
| int | referenceCount () const |
Protected Member Functions | |
| ~ActiveResultHolder () | |
Protected Member Functions inherited from Poco::RefCountedObject | |
| virtual | ~RefCountedObject () |
| Returns the reference count. | |
Private Attributes | |
| Exception * | _pExc |
| Event | _event |
Definition at line 145 of file ActiveResult.h.
|
inline |
|
inlineprotected |
Definition at line 223 of file ActiveResult.h.
|
inline |
If the active method threw an exception, a textual representation of the exception is returned. An empty string is returned if the active method completed successfully.
Definition at line 190 of file ActiveResult.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Sets the exception.
Definition at line 208 of file ActiveResult.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Sets the exception.
Definition at line 215 of file ActiveResult.h.
|
inline |
If the active method threw an exception, a clone of the exception object is returned, otherwise null.
Definition at line 201 of file ActiveResult.h.
Here is the caller graph for this function:
|
inline |
Returns true if the active method failed (and threw an exception). Information about the exception can be obtained by calling error().
Definition at line 183 of file ActiveResult.h.
Here is the caller graph for this function:
|
inline |
Notifies the invoking thread that the result became available.
Definition at line 177 of file ActiveResult.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Waits up to the specified interval for the result to become available. Returns true if the result became available, false otherwise.
Definition at line 161 of file ActiveResult.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Pauses the caller until the result becomes available.
Definition at line 155 of file ActiveResult.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Waits up to the specified interval for the result to become available. Throws a TimeoutException if the result did not became available.
Definition at line 169 of file ActiveResult.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 230 of file ActiveResult.h.
|
private |
Definition at line 229 of file ActiveResult.h.