ACE 8.0.1
Loading...
Searching...
No Matches
Classes | Public Member Functions | Private Attributes | List of all members
ACE_Token_Reply Class Reference

Message format for delivering replies from the ACE_Token Server. More...

#include <Token_Request_Reply.h>

Collaboration diagram for ACE_Token_Reply:
Collaboration graph
[legend]

Classes

struct  Transfer
 The 2 fields in the <Transfer> struct are transmitted to the server. More...
 

Public Member Functions

 ACE_Token_Reply ()
 Default constructor.
 
ACE_UINT32 length () const
 Get the length of the encoded/decoded message.
 
void length (ACE_UINT32)
 Set the length of the encoded/decoded message.
 
ACE_UINT32 errnum () const
 Get the errno of a reply.
 
void errnum (ACE_UINT32)
 Set the errno of a reply.
 
ACE_UINT32 arg () const
 Get the arg of a reply.
 
void arg (ACE_UINT32)
 Set the arg of a reply.
 
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

struct ACE_Token_Reply::Transfer transfer_
 

Detailed Description

Message format for delivering replies from the ACE_Token Server.

This class is implemented to minimize data copying. In particular, all marshaling is done in situ...

Constructor & Destructor Documentation

◆ ACE_Token_Reply()

ACE_Token_Reply::ACE_Token_Reply ( )

Default constructor.

Member Function Documentation

◆ arg() [1/2]

ACE_UINT32 ACE_Token_Reply::arg ( ) const
inline

Get the arg of a reply.

◆ arg() [2/2]

void ACE_Token_Reply::arg ( ACE_UINT32 arg)
inline

Set the arg of a reply.

◆ decode()

int ACE_Token_Reply::decode ( )

Decode a message after reception.

◆ dump()

void ACE_Token_Reply::dump ( ) const

Print out the values of the message for debugging purposes.

◆ encode()

int ACE_Token_Reply::encode ( void *& buf)

Encode the message before transfer.

◆ errnum() [1/2]

ACE_UINT32 ACE_Token_Reply::errnum ( ) const
inline

Get the errno of a reply.

◆ errnum() [2/2]

void ACE_Token_Reply::errnum ( ACE_UINT32 e)
inline

Set the errno of a reply.

◆ length() [1/2]

ACE_UINT32 ACE_Token_Reply::length ( ) const
inline

Get the length of the encoded/decoded message.

◆ length() [2/2]

void ACE_Token_Reply::length ( ACE_UINT32 l)
inline

Set the length of the encoded/decoded message.

Member Data Documentation

◆ transfer_

struct ACE_Token_Reply::Transfer ACE_Token_Reply::transfer_
private

The documentation for this class was generated from the following files: