|
CppWAMP
C++11 client library for the WAMP protocol
|
Contains details within WAMP INTERRUPT messages.
More...
#include <cppwamp/peerdata.hpp>

Public Member Functions | |
| Interruption () | |
| Default constructor. More... | |
| bool | empty () const |
Returns false if the Interruption has been initialized and is ready for use. | |
| bool | calleeHasExpired () const |
| Determines if the Session object that dispatched this interruption still exists or has expired. | |
| RequestId | requestId () const |
| Returns the request ID associated with this interruption. | |
| AnyIoExecutor | executor () const |
| Obtains the executor used to execute user-provided handlers. More... | |
| void | yield (Result result=Result()) const |
Manually sends a YIELD result back to the callee. More... | |
| void | yield (Error error) const |
Manually sends an ERROR result back to the callee. More... | |
Contains details within WAMP INTERRUPT messages.
This class also provides the means for manually sending a YIELD or ERROR result back to the RPC caller.
| wamp::Interruption::Interruption | ( | ) |
Default constructor.
this->empty() == true | AnyIoExecutor wamp::Interruption::executor | ( | ) | const |
Obtains the executor used to execute user-provided handlers.
this->empty() == false Manually sends a YIELD result back to the callee.
this->calleeHasExpired == false | void wamp::Interruption::yield | ( | Error | error | ) | const |
Manually sends an ERROR result back to the callee.
this->calleeHasExpired == false