|
Public Types |
enum | OPERATION {
ACQUIRE,
RELEASE,
RENEW,
REMOVE,
TRY_ACQUIRE
} |
| Operation types. More...
|
Public Methods |
| ACE_Token_Request (void) |
| Default constructor.
|
| ACE_Token_Request (int token_type, int proxy_type, ACE_UINT32 operation, const ACE_TCHAR token_name[], const ACE_TCHAR client_id[], const ACE_Synch_Options &options) |
ACE_UINT32 | length (void) const |
| Get the length of the encoded/decoded message.
|
void | length (ACE_UINT32) |
| Set the length of the encoded/decoded message.
|
int | proxy_type (void) const |
| Get the type of proxy.
|
void | proxy_type (int proxy_type) |
| Set the type of proxy.
|
int | token_type (void) const |
| Get the type of token.
|
void | token_type (int token_type) |
| Set the type of token.
|
ACE_UINT32 | operation_type (void) const |
| Get the type of the operation.
|
void | operation_type (ACE_UINT32) |
| Set the type of the operation.
|
ACE_UINT32 | requeue_position (void) const |
void | requeue_position (ACE_UINT32) |
ACE_UINT32 | notify (void) const |
| Get notify. These should be used when acquire is the operation type.
|
void | notify (ACE_UINT32) |
| Set notify. These should be used when acquire is the operation type.
|
ACE_Synch_Options & | options (void) const |
void | options (const ACE_Synch_Options &options) |
ACE_TCHAR * | token_name (void) const |
ACE_TCHAR * | client_id (void) const |
void | token_name (const ACE_TCHAR *token_name, const ACE_TCHAR *client_id) |
int | encode (void *&) |
| Encode the message before transmission.
|
int | decode (void) |
void | dump (void) const |
| Print out the values of the message for debugging purposes.
|
Private Attributes |
ACE_Token_Request::Transfer | transfer_ |
ACE_TCHAR * | token_name_ |
| Pointer to the beginning of the token name in this->data_.
|
ACE_TCHAR * | client_id_ |
| Pointer to the beginning of the client id in this->data_;.
|
ACE_Synch_Options | options_ |
| Holds arg, sec, usec, etc.
|
This class is implemented to minimize data copying. In particular, all marshaling is done in situ...