Generic invoker class that invokes service meta methods based on received messages.
More...
#include <generic_invoker.hpp>
Generic invoker class that invokes service meta methods based on received messages.
◆ GenericInvoker()
kanzi::connect::GenericInvoker::GenericInvoker |
( |
AbstractService * | service | ) |
|
|
explicit |
Constructor.
Object is expected to live as long as contained service is alive.
- Parameters
-
service | the contained service to be invoked. |
◆ ~GenericInvoker()
kanzi::connect::GenericInvoker::~GenericInvoker |
( |
| ) |
|
◆ composeMessageName()
static string kanzi::connect::GenericInvoker::composeMessageName |
( |
const string & | serviceIdentifier, |
|
|
string & | methodIdentifier ) |
|
static |
◆ createMessagename()
static string kanzi::connect::GenericInvoker::createMessagename |
( |
const MethodDescription & | method | ) |
|
|
static |
◆ findMethod()
const MetaMethod * kanzi::connect::GenericInvoker::findMethod |
( |
const string & | methodName | ) |
|
◆ findMethodDescription()
static MethodDescription kanzi::connect::GenericInvoker::findMethodDescription |
( |
const string & | servicexml, |
|
|
const string & | type, |
|
|
const string & | name ) |
|
static |
◆ findPropertyDescription()
static PropertyDescriptor kanzi::connect::GenericInvoker::findPropertyDescription |
( |
const string & | servicexml, |
|
|
const string & | name ) |
|
static |
◆ invoke() [1/2]
Invokes the generic service invoker with a received message.
it is expected that right session for the message is discovered already on higher layers of software.
- Parameters
-
message | the message to be used invocation of method. |
session | the session this invoke is bound to. |
- Returns
- optional reply message that is to be dispatched to sender of the original message.
◆ invoke() [2/2]
The documentation for this class was generated from the following file:
- connect/interface/generic_invoker.hpp