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...
|
Public Methods |
| | ACE_Name_Request (void) |
| | Default constructor. More...
|
| | ACE_Name_Request (ACE_INT32 msg_type, const ACE_USHORT16 name[], const ACE_UINT32 name_length, const ACE_USHORT16 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. More...
|
| void | init (void) |
| | Initialize length_ in order to ensure correct byte ordering before a request is sent. More...
|
| ACE_UINT32 | length (void) const |
| void | length (ACE_UINT32) |
| ACE_INT32 | msg_type (void) const |
| void | msg_type (ACE_INT32) |
| ACE_UINT32 | block_forever (void) const |
| void | block_forever (ACE_UINT32) |
| ACE_Time_Value | timeout (void) const |
| void | timeout (const ACE_Time_Value timeout) |
| const ACE_USHORT16 * | name (void) const |
| void | name (const ACE_USHORT16 *) |
| const ACE_USHORT16 * | value (void) const |
| void | value (const ACE_USHORT16 *) |
| const char * | type (void) const |
| void | type (const char *) |
| ACE_UINT32 | name_len (void) const |
| void | name_len (ACE_UINT32) |
| ACE_UINT32 | value_len (void) const |
| void | value_len (ACE_UINT32) |
| ACE_UINT32 | type_len (void) const |
| void | type_len (ACE_UINT32) |
| int | encode (void *&) |
| | Encode the message before transmission. More...
|
| int | decode (void) |
| | Decode message after reception. More...
|
| void | dump (void) const |
| | Print out the values of the message for debugging purposes. More...
|
Private Attributes |
| Transfer | transfer_ |
| | Transfer buffer. More...
|
| ACE_USHORT16 * | name_ |
| | Pointer to the beginning of the name in this->data_. More...
|
| ACE_USHORT16 * | value_ |
| | Pointer to the beginning of the value in this->data_;. More...
|
| char * | type_ |
| | Pointer to the beginning of the type in this->data_;. More...
|
This class is implemented to minimize data copying. In particular, all marshaling is done in situ...