CppWAMP
C++11 client library for the WAMP protocol
|
Provides the topic URI, options, and payload contained within WAMP PUBLISH
messages.
More...
#include <cppwamp/peerdata.hpp>
Public Member Functions | |
Pub (String topic) | |
Converting constructor taking a topic URI. | |
Subscriber Allow/Deny Lists | |
const String & | topic () |
Obtains the topic URI. | |
Pub & | withExcludedSessions (Array sessionIds) |
Specifies the list of (potential) Subscriber session IDs that won't receive the published event. More... | |
Pub & | withExcludedAuthIds (Array authIds) |
Specifies a deny list of authid strings. More... | |
Pub & | withExcludedAuthRoles (Array authRoles) |
Specifies a deny list of authrole strings. More... | |
Pub & | withEligibleSessions (Array sessionIds) |
Specifies the list of (potential) Subscriber session IDs that are allowed to receive the published event. More... | |
Pub & | withEligibleAuthIds (Array authIds) |
Specifies an allow list of authid strings. More... | |
Pub & | withEligibleAuthRoles (Array authRoles) |
Specifies an allow list of authrole strings. More... | |
Publisher Exclusion | |
Pub & | withExcludeMe (bool excluded=true) |
Specifies if this session should be excluded from receiving the event. More... | |
Publisher Identification | |
Pub & | withDiscloseMe (bool disclosed=true) |
Requests that the identity (session ID) of this session be disclosed in the event. More... | |
Provides the topic URI, options, and payload contained within WAMP PUBLISH
messages.
Specifies the list of (potential) Subscriber session IDs that won't receive the published event.
This sets the PUBLISH.Options.exclude|list
option.
Specifies a deny list of authid strings.
This sets the PUBLISH.Options.exclude_authid|list
option.
Specifies a deny list of authrole strings.
This sets the PUBLISH.Options.exclude_authrole|list
option.
Specifies the list of (potential) Subscriber session IDs that are allowed to receive the published event.
This sets the PUBLISH.Options.eligible|list
option.
Specifies an allow list of authid strings.
This sets the PUBLISH.Options.eligible_authid|list
option.
Specifies an allow list of authrole strings.
This sets the PUBLISH.Options.eligible_authrole|list
option.
Pub & wamp::Pub::withExcludeMe | ( | bool | excluded = true | ) |
Specifies if this session should be excluded from receiving the event.
This sets the PUBLISH.Options.exclude_me|bool
option.
Pub & wamp::Pub::withDiscloseMe | ( | bool | disclosed = true | ) |
Requests that the identity (session ID) of this session be disclosed in the event.
This sets the PUBLISH.Options.disclose_me|bool
option.