My Project
|
An outgoing message to be sent by a socket. More...
#include <NPLMsgOut.h>
Public Member Functions | |
bool | empty () |
if message is empty | |
ParaEngine::StringBuilder & | GetBuffer () |
get the internal string buffer | |
Public Attributes | |
ParaEngine::StringBuilder | m_msg |
The content to be sent in the reply. | |
![]() | |
long | m_ref_count |
Additional Inherited Members | |
![]() | |
static void * | operator new (size_t size) |
static void | operator delete (void *p) |
![]() | |
intrusive_ptr_single_thread_base (const intrusive_ptr_single_thread_base &) | |
intrusive_ptr_single_thread_base & | operator= (const intrusive_ptr_single_thread_base &) |
An outgoing message to be sent by a socket.
Use CNPLMsgOut_gen to write content to the msg. this is output pending send queue item data struct. e.g. NPLMsgOut_ptr msg_out = NPLMsgOut_ptr(new NPLMsgOut()); CNPLMsgOut_gen writer(*msg_out); ... const string& msg_str = msg_out.ToString();