RSB
0.9.6
|
A callback which allows any kind of reply type but is restricted to a single request type. More...
#include <Server.h>
Public Member Functions | |
AnyReplyTypeCallback (const std::string &requestType=rsc::runtime::typeName(typeid(RequestType))) | |
virtual AnnotatedData | call (const std::string &methodName, boost::shared_ptr< RequestType > input)=0 |
Implement this method to perform actions. More... | |
Public Member Functions inherited from rsb::patterns::Server<>::CallbackBase | |
virtual const std::string & | getRequestType () const |
virtual const std::string & | getReplyType () const |
Public Member Functions inherited from rsb::patterns::Server<>::IntlCallback | |
virtual | ~IntlCallback () |
Private Member Functions | |
AnnotatedData | intlCall (const std::string &methodName, boost::shared_ptr< void > input) |
Additional Inherited Members | |
Protected Member Functions inherited from rsb::patterns::Server<>::CallbackBase | |
CallbackBase (const std::string &requestType, const std::string &replyType) | |
Protected Attributes inherited from rsb::patterns::Server<>::CallbackBase | |
std::string | requestType |
std::string | replyType |
A callback which allows any kind of reply type but is restricted to a single request type.
RequestType | request type class |
|
inline |
|
pure virtual |
Implement this method to perform actions.
methodName | called method |
input | input data for the method |
std::exception | all exceptions based on this type are automatically caught and delivered to the remote server |
|
inlineprivatevirtual |
Implements rsb::patterns::Server<>::IntlCallback.