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

Contains the procedure URI and other options contained within WAMP REGISTER messages. More...

#include <cppwamp/peerdata.hpp>

Inheritance diagram for wamp::Procedure:

Public Member Functions

 Procedure (String uri)
 Converting constructor taking a procedure URI.
 
const Stringuri () const
 Obtains the procedure URI.
 
Pattern-based Registrations
ProcedureusingPrefixMatch ()
 Specifies that the prefix-matching policy is to be used for this registration. More...
 
ProcedureusingWildcardMatch ()
 Specifies that the wildcard-matching policy is to be used for this subscription. More...
 
Caller Identification
ProcedurewithDiscloseCaller (bool disclosed=true)
 Requests that the identity (session ID) of this session be disclosed in the remote procedure call. More...
 

Detailed Description

Member Function Documentation

◆ usingPrefixMatch()

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

◆ usingWildcardMatch()

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

◆ withDiscloseCaller()

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.


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