msg_pack Class Reference
pack error and reply messages
More...
#include <msg_cpp.h>
List of all members.
|
Static Public Member Functions |
static void | make_error_msg (msg_cpp *msg, const char *text) |
| prepares error message on incoming message with specified text
|
static void | make_reply_msg (const msg_cpp *msg, msg_cpp *reply) |
| prepares the template reply for incoming message fill header information
|
Detailed Description
pack error and reply messages
Definition at line 397 of file msg_cpp.h.
Member Function Documentation
void msg_pack::make_error_msg |
( |
msg_cpp * |
msg, |
|
|
const char * |
text | |
|
) |
| | [static] |
void msg_pack::make_reply_msg |
( |
const msg_cpp * |
msg, |
|
|
msg_cpp * |
reply | |
|
) |
| | [static] |
prepares the template reply for incoming message fill header information
- Parameters:
-
msg |
input message pointer |
reply |
output message pointer |
Definition at line 226 of file msg_cpp.cpp.
References msg_cpp::_marker, msg_cpp::_receiver, msg_cpp::_sender, msg_cpp::_type, handshake_type, system_type, user_type_reply, user_type_reply_async, user_type_send, and user_type_send_async.
Referenced by msg_user_connection::process_income_message(), msg_rpc_connection::send_msg(), msg_sock_connection::v_do_job(), and msg_communicator::v_do_job().
The documentation for this class was generated from the following files: