#include <ACE/Token_Request_Reply.h>
class ACE_Token_Request {
public:enum OPERATION{ ACQUIRE, RELEASE, RENEW, REMOVE, TRY_ACQUIRE };ACE_Token_Request (void);ACE_Token_Request ( int token_type, int proxy_type, ACE_UINT32 operation, const char token_name[], const char client_id[], const ACE_Synch_Options &options );ACE_UINT32 length (void) const;void length (ACE_UINT32);int proxy_type (void) const;void proxy_type (int proxy_type);int token_type (void) const;void token_type (int token_type);ACE_UINT32 operation_type (void) const;void operation_type (ACE_UINT32);ACE_UINT32 requeue_position (void) const;void requeue_position (ACE_UINT32);ACE_UINT32 notify (void) const;void notify (ACE_UINT32);ACE_Synch_Options &options (void) const;void options (const ACE_Synch_Options &options);char *token_name (void) const;char *client_id (void) const;void token_name (const char *token_name, const char* client_id);int encode (void *&);int decode (void);void dump (void) const;private:Transfer transfer_;char *token_name_;char *client_id_;ACE_Synch_Options options_;};
ACE_UINT32 length (void) const;
void length (ACE_UINT32);
int proxy_type (void) const;
void proxy_type (int proxy_type);
int token_type (void) const;
void token_type (int token_type);
ACE_UINT32 operation_type (void) const;
void operation_type (ACE_UINT32);
ACE_UINT32 requeue_position (void) const;
void requeue_position (ACE_UINT32);
ACE_UINT32 notify (void) const;
void notify (ACE_UINT32);
ACE_Synch_Options &options (void) const;
void options (const ACE_Synch_Options &options);
char *token_name (void) const;
char *client_id (void) const;
void token_name (const char *token_name, const char* client_id);
int encode (void *&);
int decode (void);
void dump (void) const;