ArNetworking: ArServerCommands Class Reference

- Main Page
- Classes
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# ArServerCommands Class Reference

`#include <ArServerCommands.h>`

List of all members.

## Detailed Description

The commands from the server to the client

## Public Types
enum | ServerCommands { SHUTDOWN = 1, INTRODUCTION = 2, UDP_INTRODUCTION = 3, UDP_CONFIRMATION = 4, CONNECTED = 5, REJECTED = 6, TCP_ONLY = 7, LIST = 129, LISTSINGLE = 130, LISTARGRET = 131, LISTARGRETSINGLE = 132, LISTGROUPANDFLAGS = 133, LISTGROUPANDFLAGSSINGLE = 134 }

## Member Enumeration Documentation

enum ArServerCommands::ServerCommands

Enumerator:

  SHUTDOWN | Closes the connection.
  INTRODUCTION | Introduces the server to the client.
  UDP_INTRODUCTION | Udp introduction of the server to the client.
  UDP_CONFIRMATION | Confirmation Udp was received from client.
  CONNECTED | Server accepts clients connection.
  REJECTED | Server rejects clients connection, has a byte2, then a string.... these reasons (1 = bad username password, string then is empty, 2 = rejecting connection because using central server, string then is central server IP).
  TCP_ONLY | Server tells client to only send TCP.
  LIST | Map of the string names for a type to a number along with a long description of the data type.
  LISTSINGLE | Map of a single type to a number (for late additions to server) along with its description.
  LISTARGRET | Map of the number to their arguments and returns descriptions.
  LISTARGRETSINGLE | Map of a single type to a number (for late additions to server) along with its argument and return descriptions.
  LISTGROUPANDFLAGS | Map of the number to their command groups and data flags.
  LISTGROUPANDFLAGSSINGLE | Map of a single type to a number (for late additions to server) along with its command group and data flags.

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

- ArServerCommands.h