ACE 8.0.0
|
Message format for delivering replies from the ACE_Name Server. More...
#include <Name_Request_Reply.h>
Classes | |
struct | Transfer |
Public Types | |
enum | Constants { MAX_NAME_LENGTH = MAXPATHLEN + 1 } |
Public Member Functions | |
ACE_Name_Reply () | |
Default constructor. | |
ACE_Name_Reply (ACE_UINT32 type, ACE_UINT32 err) | |
Create a ACE_Name_Reply message. | |
void | init () |
ACE_UINT32 | length () const |
void | length (ACE_UINT32) |
ACE_INT32 | msg_type () const |
void | msg_type (ACE_INT32) |
ACE_INT32 | status () const |
void | status (ACE_INT32) |
ACE_UINT32 | errnum () const |
void | errnum (ACE_UINT32) |
int | encode (void *&) |
Encode the message before transfer. | |
int | decode () |
Decode a message after reception. | |
void | dump () const |
Print out the values of the message for debugging purposes. | |
Private Attributes | |
Transfer | transfer_ |
Transfer buffer. | |
Message format for delivering replies from the ACE_Name Server.
This class is implemented to minimize data copying. In particular, all marshaling is done in situ...
ACE_Name_Reply::ACE_Name_Reply | ( | ) |
Default constructor.
ACE_Name_Reply::ACE_Name_Reply | ( | ACE_UINT32 | type, |
ACE_UINT32 | err ) |
Create a ACE_Name_Reply message.
int ACE_Name_Reply::decode | ( | ) |
Decode a message after reception.
void ACE_Name_Reply::dump | ( | ) | const |
Print out the values of the message for debugging purposes.
ACE_UINT32 ACE_Name_Reply::errnum | ( | ) | const |
void ACE_Name_Reply::errnum | ( | ACE_UINT32 | e | ) |
void ACE_Name_Reply::init | ( | ) |
Initialize length_ in order to ensure correct byte ordering before a reply is sent.
ACE_UINT32 ACE_Name_Reply::length | ( | ) | const |
void ACE_Name_Reply::length | ( | ACE_UINT32 | l | ) |
ACE_INT32 ACE_Name_Reply::msg_type | ( | ) | const |
ACE_INT32 ACE_Name_Reply::status | ( | ) | const |