#include <Listener.h>
Callback. When callback is attached to a Listener Listener call Callback::call() each time it recieves a call message from a sender.
- Examples:
- /examples/coding/Listener.cpp.
Listener::Callback::Callback |
( |
| ) |
|
Listener::Callback::~Callback |
( |
| ) |
|
|
virtual |
virtual int commore::Listener::Callback::call |
( |
const Tuple & |
in_req, |
|
|
Tuple & |
out_req |
|
) |
| |
|
pure virtual |
Incomming call
- Note
- call MUST be protected from multi-thread acces
- Parameters
-
in_req | input argument |
out_req | output argument |
- Returns
- call status
Implemented in commore::PServiceManager::Impl.
void Listener::Callback::detach |
( |
| ) |
|
Force Detach from listener Must be call explicitely by destructor of derived class, meanwhile it is called by Callback destructor
The documentation for this class was generated from the following files: