msg_callback_notify Class Reference
class supports incoming and asynchronous callbacks
More...
#include <aiomsgfactory.h>
List of all members.
|
Public Member Functions |
virtual bool | incoming_callback (msg_t *msg, msg_t *reply)=0 |
| callback function for incoming messages if sender used post function then reply will be null - sender isn't waiting for reply if function return true then caller isn't responsible for msg destruction anymore internal code will posses the msg memory
|
virtual bool | async_callback (msg_t *reply, const guid_t &ident)=0 |
| callback function for asynchronous replies if function return true then caller isn't responsible for reply destruction anymore internal code will posses the reply memory
|
Detailed Description
class supports incoming and asynchronous callbacks
Definition at line 56 of file aiomsgfactory.h.
Member Function Documentation
virtual bool msg_callback_notify::incoming_callback |
( |
msg_t * |
msg, |
|
|
msg_t * |
reply | |
|
) |
| | [pure virtual] |
callback function for incoming messages if sender used post function then reply will be null - sender isn't waiting for reply if function return true then caller isn't responsible for msg destruction anymore internal code will posses the msg memory
- Parameters:
-
msg |
pointer to the incoming message |
reply |
pointer to the outgoing message |
Referenced by msg_user_connection::process_income_message().
virtual bool msg_callback_notify::async_callback |
( |
msg_t * |
reply, |
|
|
const guid_t & |
ident | |
|
) |
| | [pure virtual] |
callback function for asynchronous replies if function return true then caller isn't responsible for reply destruction anymore internal code will posses the reply memory
- Parameters:
-
reply |
pointer to the asynchronous reply |
ident |
unique ident for asynchronous replies |
Referenced by msg_user_connection::v_do_job().
The documentation for this class was generated from the following file: