MIRA
|
Contains all information on a registered RPC method, including the signature of the method. More...
#include <rpc/RPCServer.h>
Public Member Functions | |
Method (const RPCSignature &signature, const std::string &comment) | |
Method (const RPCSignature &signature, const std::string &comment, const ParameterDescriptions ¶meterDescriptions) | |
template<typename Backend > | |
void | addInvoker (TRPCInvoker< Backend > *invoker) |
adds a new invoker that processes the method for a certain backend More... | |
template<typename Reflector > | |
void | reflect (Reflector &r) |
template<typename Stream > | |
void | reflect (ConcreteBinarySerializer< Stream, 0 > &r) |
template<typename Stream > | |
void | reflect (ConcreteBinaryDeserializer< Stream, 0 > &r) |
template<typename Reflector > | |
void | reflectBinaryV0 (Reflector &r) |
bool | operator< (const MethodInfo &rhs) const |
bool | operator== (const MethodInfo &rhs) const |
std::string | extendedSignature () const |
std::string | parameterDescriptions (const std::string &prefix="") const |
std::string | sampleParametersSet (bool formatted=false) const |
Public Attributes | |
std::map< int, boost::shared_ptr< RPCInvoker > > | invokers |
stores corresponding RPCInvoker for each backend type More... | |
RPCSignature | signature |
The signature of the method (including its name) More... | |
std::string | comment |
User comments and description. More... | |
ParameterDescriptions | parameterDesc |
User info on method parameters. More... | |
bool | parameterSamplesDefault |
Sample parameter values. More... | |
std::list< json::Value > | parameterSamples |
Contains all information on a registered RPC method, including the signature of the method.
Moreover a set of invokers are stored, where each invoker is responsible for one RPC backend type.
|
inline |
|
inline |
|
inline |
adds a new invoker that processes the method for a certain backend
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
prefix | Prefix that is output on the beginning of each line (usable e.g. for indentation) |
|
inherited |
std::map<int, boost::shared_ptr<RPCInvoker> > invokers |
stores corresponding RPCInvoker for each backend type
|
inherited |
The signature of the method (including its name)
|
inherited |
User comments and description.
|
inherited |
User info on method parameters.
|
inherited |
Sample parameter values.
|
inherited |