ACE 8.0.0
|
Message format for delivering requests to the ACE_Name Server. More...
#include <Name_Request_Reply.h>
Classes | |
struct | Transfer |
Public Types | |
enum | Constants { BIND = 01 , REBIND = 02 , RESOLVE = 03 , UNBIND = 04 , LIST_NAMES = 05 , LIST_VALUES = 015 , LIST_TYPES = 025 , LIST_NAME_ENTRIES = 06 , LIST_VALUE_ENTRIES = 016 , LIST_TYPE_ENTRIES = 026 , MAX_ENUM = 11 , MAX_LIST = 3 , OP_TABLE_MASK = 07 , LIST_OP_MASK = 030 , MAX_NAME_LENGTH = MAXPATHLEN + 1 } |
Request message types. More... | |
Private Attributes | |
Transfer | transfer_ |
Transfer buffer. | |
ACE_WCHAR_T * | name_ |
Pointer to the beginning of the name in this->data_. | |
ACE_WCHAR_T * | value_ |
Pointer to the beginning of the value in this->data_;. | |
char * | type_ |
Pointer to the beginning of the type in this->data_;. | |
Message format for delivering requests to the ACE_Name Server.
This class is implemented to minimize data copying. In particular, all marshaling is done in situ...
Request message types.
ACE_Name_Request::ACE_Name_Request | ( | ) |
Default constructor.
ACE_Name_Request::ACE_Name_Request | ( | ACE_INT32 | msg_type, |
const ACE_WCHAR_T | name[], | ||
const ACE_UINT32 | name_length, | ||
const ACE_WCHAR_T | value[], | ||
const ACE_UINT32 | value_length, | ||
const char | type[], | ||
const ACE_UINT32 | type_length, | ||
ACE_Time_Value * | timeout = 0 ) |
Create a ACE_Name_Request message.
ACE_UINT32 ACE_Name_Request::block_forever | ( | ) | const |
void ACE_Name_Request::block_forever | ( | ACE_UINT32 | bs | ) |
int ACE_Name_Request::decode | ( | ) |
Decode message after reception.
void ACE_Name_Request::dump | ( | ) | const |
Print out the values of the message for debugging purposes.
void ACE_Name_Request::init | ( | ) |
Initialize length_ in order to ensure correct byte ordering before a request is sent.
ACE_UINT32 ACE_Name_Request::length | ( | ) | const |
void ACE_Name_Request::length | ( | ACE_UINT32 | l | ) |
ACE_INT32 ACE_Name_Request::msg_type | ( | ) | const |
const ACE_WCHAR_T * ACE_Name_Request::name | ( | ) | const |
void ACE_Name_Request::name | ( | const ACE_WCHAR_T * | t | ) |
ACE_UINT32 ACE_Name_Request::name_len | ( | ) | const |
void ACE_Name_Request::name_len | ( | ACE_UINT32 | t | ) |
ACE_Time_Value ACE_Name_Request::timeout | ( | ) | const |
void ACE_Name_Request::timeout | ( | const ACE_Time_Value | timeout | ) |
const char * ACE_Name_Request::type | ( | ) | const |
ACE_UINT32 ACE_Name_Request::type_len | ( | ) | const |
void ACE_Name_Request::type_len | ( | ACE_UINT32 | t | ) |
const ACE_WCHAR_T * ACE_Name_Request::value | ( | ) | const |
void ACE_Name_Request::value | ( | const ACE_WCHAR_T * | c | ) |
ACE_UINT32 ACE_Name_Request::value_len | ( | ) | const |
void ACE_Name_Request::value_len | ( | ACE_UINT32 | t | ) |
|
private |
Pointer to the beginning of the name in this->data_.
|
private |
Pointer to the beginning of the type in this->data_;.
|
private |
Pointer to the beginning of the value in this->data_;.