CppWAMP
C++11 client library for the WAMP protocol
wamp::Topic Class Reference

Provides the topic URI and other options contained within WAMP ‘SUBSCRIBE’ messages. More...

#include <cppwamp/peerdata.hpp>

Inheritance diagram for wamp::Topic:

Public Member Functions

 Topic (String uri)
 Converting constructor taking a topic URI.
 
const Stringuri () const
 Obtains the topic URI.
 
Pattern-based Subscriptions
TopicusingPrefixMatch ()
 Specifies that the prefix-matching policy is to be used for this subscription. More...
 
TopicusingWildcardMatch ()
 Specifies that the wildcard-matching policy is to be used for this subscription. More...
 

Detailed Description

Member Function Documentation

◆ usingPrefixMatch()

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".

◆ usingWildcardMatch()

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".


The documentation for this class was generated from the following files: