CppWAMP
C++11 client library for the WAMP protocol
|
Contains the procedure URI and other options contained within WAMP REGISTER
messages.
More...
#include <cppwamp/peerdata.hpp>
Public Member Functions | |
Procedure (String uri) | |
Converting constructor taking a procedure URI. | |
const String & | uri () const |
Obtains the procedure URI. | |
Pattern-based Registrations | |
Procedure & | usingPrefixMatch () |
Specifies that the prefix-matching policy is to be used for this registration. More... | |
Procedure & | usingWildcardMatch () |
Specifies that the wildcard-matching policy is to be used for this subscription. More... | |
Caller Identification | |
Procedure & | withDiscloseCaller (bool disclosed=true) |
Requests that the identity (session ID) of this session be disclosed in the remote procedure call. More... | |
Contains the procedure URI and other options contained within WAMP REGISTER
messages.
Procedure & wamp::Procedure::usingPrefixMatch | ( | ) |
Specifies that the prefix-matching policy is to be used for this registration.
This sets the REGISTER.Options.match|string
option to "prefix"
.
Procedure & wamp::Procedure::usingWildcardMatch | ( | ) |
Specifies that the wildcard-matching policy is to be used for this subscription.
This sets the REGISTER.Options.match|string
option to "wildcard"
.
Procedure & wamp::Procedure::withDiscloseCaller | ( | bool | disclosed = true | ) |
Requests that the identity (session ID) of this session be disclosed in the remote procedure call.
This sets the REGISTER.Options.disclose_caller|bool
option.