My Project
Public Member Functions | Public Attributes | List of all members
NPL::NPLMsgOut Class Reference

An outgoing message to be sent by a socket. More...

#include <NPLMsgOut.h>

Inheritance diagram for NPL::NPLMsgOut:
ParaEngine::PoolBase< NPLMsgOut > ParaEngine::intrusive_ptr_single_thread_base

Public Member Functions

bool empty ()
 if message is empty
 
ParaEngine::StringBuilderGetBuffer ()
 get the internal string buffer
 

Public Attributes

ParaEngine::StringBuilder m_msg
 The content to be sent in the reply.
 
- Public Attributes inherited from ParaEngine::intrusive_ptr_single_thread_base
long m_ref_count
 

Additional Inherited Members

- Static Public Member Functions inherited from ParaEngine::PoolBase< NPLMsgOut >
static void * operator new (size_t size)
 
static void operator delete (void *p)
 
- Protected Member Functions inherited from ParaEngine::intrusive_ptr_single_thread_base
 intrusive_ptr_single_thread_base (const intrusive_ptr_single_thread_base &)
 
intrusive_ptr_single_thread_baseoperator= (const intrusive_ptr_single_thread_base &)
 

Detailed Description

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();


The documentation for this class was generated from the following file: