|
CppWAMP
C++11 client library for the WAMP protocol
|
Provides the subscription/publication ids, options, and payload contained within WAMP EVENT messages.
More...
#include <cppwamp/peerdata.hpp>

Public Member Functions | |
| Event () | |
| Default constructor. More... | |
| bool | empty () const |
Returns false if the Event has been initialized and is ready for use. | |
| SubscriptionId | subId () const |
| Obtains the subscription ID associated with this event. | |
| PublicationId | pubId () const |
| Obtains the publication ID associated with this event. | |
| AnyIoExecutor | executor () const |
| Obtains the executor used to execute user-provided handlers. More... | |
Publisher Identification | |
| Variant | publisher () const |
| Obtains an optional publisher ID integer. More... | |
Publication Trust Levels | |
| Variant | trustLevel () const |
| Obtains an optional trust level integer. More... | |
Pattern-based Subscriptions | |
| Variant | topic () const |
| Obtains an optional string of the original topic URI used to make the publication. More... | |
Provides the subscription/publication ids, options, and payload contained within WAMP EVENT messages.
| wamp::Event::Event | ( | ) |
Default constructor.
this->empty() == true | AnyIoExecutor wamp::Event::executor | ( | ) | const |
Obtains the executor used to execute user-provided handlers.
this->empty() == false | Variant wamp::Event::publisher | ( | ) | const |
Obtains an optional publisher ID integer.
This function returns the value of the EVENT.Details.publisher|integer detail.
| Variant wamp::Event::trustLevel | ( | ) | const |
Obtains an optional trust level integer.
This function returns the value of the EVENT.Details.trustlevel|integer detail.
| Variant wamp::Event::topic | ( | ) | const |
Obtains an optional string of the original topic URI used to make the publication.
This function checks the value of the EVENT.Details.topic|uri detail.