CppWAMP
C++11 client library for the WAMP protocol
|
Provides the topic URI and other options contained within WAMP ‘SUBSCRIBE’ messages. More...
#include <cppwamp/peerdata.hpp>
Public Member Functions | |
Topic (String uri) | |
Converting constructor taking a topic URI. | |
const String & | uri () const |
Obtains the topic URI. | |
Pattern-based Subscriptions | |
Topic & | usingPrefixMatch () |
Specifies that the prefix-matching policy is to be used for this subscription. More... | |
Topic & | usingWildcardMatch () |
Specifies that the wildcard-matching policy is to be used for this subscription. More... | |
Provides the topic URI and other options contained within WAMP ‘SUBSCRIBE’ messages.
Topic & wamp::Topic::usingPrefixMatch | ( | ) |
Specifies that the prefix-matching policy is to be used for this subscription.
This sets the SUBSCRIBE.Options.match|string
option to "prefix"
.
Topic & wamp::Topic::usingWildcardMatch | ( | ) |
Specifies that the wildcard-matching policy is to be used for this subscription.
This sets the SUBSCRIBE.Options.match|string
option to "wildcard"
.