---
name: "ACE_Token_Reply"
section: "3"
platform: "linux"
package: "libace-doc"
version: "5.0.7-4"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/ACE_Token_Reply"
---

# ACE\_Token\_Reply(3)

Message format for delivering replies from the ACE\_Token Server.

## NAME

ACE\_Token\_Reply -  Message format for delivering replies from the ACE\_Token Server.

## SYNOPSIS

```
#include <ACE/Token_Request_Reply.h>
class ACE_Token_Reply
{
  public:
    ACE_Token_Reply (void);
    ACE_UINT32 length (void) const;
    void length (ACE_UINT32);
    ACE_UINT32 errnum (void) const;
    void errnum (ACE_UINT32);
    ACE_UINT32 arg (void) const;
    void arg (ACE_UINT32);
    int encode (void *&);
    int decode (void);
    void dump (void) const;
  private:
    Transfer transfer_;
};
```

## DESCRIPTION

Define the format used to exchange messages between the ACE\_Token Server and its clients.

## Set/get the length of the encoded/decoded message.

```
ACE_UINT32 length (void) const;
```

```
void length (ACE_UINT32);
```

## Set/get the errno of a reply.

```
ACE_UINT32 errnum (void) const;
```

```
void errnum (ACE_UINT32);
```

## Set/get the arg of a reply.

```
ACE_UINT32 arg (void) const;
```

```
void arg (ACE_UINT32);
```

```
int encode (void *&);
```

Encode the message before transfer.

```
int decode (void);
```

Decode a message after reception.

```
void dump (void) const;
```

Print out the values of the message for debugging purposes.

## AUTHOR

Douglas C. Schmidt (schmidt@cs.wustl.edu) Tim Harrison (harrison@cs.wustl.edu)

## LIBRARY

ACE
