MIRA
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ConcreteRPCInvoker< Backend, Function, R, ARGS > Struct Template Reference

#include <rpc/RPCInvoker.h>

Inheritance diagram for ConcreteRPCInvoker< Backend, Function, R, ARGS >:
Inheritance graph
[legend]

Public Member Functions

 ConcreteRPCInvoker (const Function &f)
 
 ConcreteRPCInvoker (Function &&f)
 
void invoke (typename Backend::ServerRequest &request, typename Backend::ServerResponse &response) final
 object is pointer to service object whose method is called More...
 
template<typename Head , typename... Tail, typename... Args>
void parseArguments (typename Backend::ServerRequest &request, typename Backend::ServerResponse &response, Args &&... args)
 
template<typename... Ignore>
void parseArguments (typename Backend::ServerRequest &request, typename Backend::ServerResponse &response, Private::StrippedType< ARGS > &&... args)
 

Static Public Member Functions

template<class P >
static Private::StrippedType< P > getParameter (typename Backend::ServerRequest &request)
 

Public Attributes

Function fn
 

Constructor & Destructor Documentation

◆ ConcreteRPCInvoker() [1/2]

ConcreteRPCInvoker ( const Function &  f)
inline

◆ ConcreteRPCInvoker() [2/2]

ConcreteRPCInvoker ( Function &&  f)
inline

Member Function Documentation

◆ getParameter()

static Private::StrippedType<P> getParameter ( typename Backend::ServerRequest &  request)
inlinestatic

◆ invoke()

void invoke ( typename Backend::ServerRequest &  request,
typename Backend::ServerResponse &  response 
)
inlinefinalvirtual

object is pointer to service object whose method is called

Implements TRPCInvoker< Backend >.

◆ parseArguments() [1/2]

void parseArguments ( typename Backend::ServerRequest &  request,
typename Backend::ServerResponse &  response,
Args &&...  args 
)
inline

◆ parseArguments() [2/2]

void parseArguments ( typename Backend::ServerRequest &  request,
typename Backend::ServerResponse &  response,
Private::StrippedType< ARGS > &&...  args 
)
inline

Member Data Documentation

◆ fn

Function fn

The documentation for this struct was generated from the following file: