commore  1.0.6-SNAPSHOT
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
commore::Service::CallMethod Class Referenceabstract

#include <Service.h>

Classes

struct  Impl
 

Public Member Functions

 CallMethod (const AChar *interface_name, const AChar *method_name)
 
virtual ~CallMethod ()
 
virtual bool is_oneway ()
 
virtual long call (PInterface inter, const Tuple &in_arg, Tuple &out_arg)=0
 

Static Public Member Functions

static CallMethodget (const AChar *interface_name, const AChar *method_name)
 

Detailed Description

Call method object, declare a call object wrapper CallMethod class manages a map of its instances (call_methods_map_) which associates a name (namespace.object.method) with an instance.

Constructor & Destructor Documentation

Service::CallMethod::CallMethod ( const AChar interface_name,
const AChar method_name 
)
Parameters
interface_name
method_name
Service::CallMethod::~CallMethod ( )
virtual

Member Function Documentation

virtual long commore::Service::CallMethod::call ( PInterface  inter,
const Tuple in_arg,
Tuple out_arg 
)
pure virtual

The call method to e implemented

Parameters
interinterface it belong
in_argin argument tuple
out_argout argument tuple
Service::CallMethod * Service::CallMethod::get ( const AChar interface_name,
const AChar method_name 
)
static

Get a call method object from internal repository Key is <interface_name>_<method_name>

virtual bool commore::Service::CallMethod::is_oneway ( )
inlinevirtual
Returns
true if method is on way

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