ArNetworking: ArServerClientIdentifier Class Reference

- Main Page
- Classes
- Related Pages

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

# ArServerClientIdentifier Class Reference

`#include <ArServerClientIdentifier.h>`

List of all members.

## Detailed Description

Class that holds an identifier for a particular serverClient.

## Public Member Functions
| ArServerClientIdentifier ()
| Constructor.
ArTypes::UByte4 | getConnectionID (void)
| Gets the id num.
const char * | getHereGoal (void)
| Gets the here goal.
const char * | getIDString (void)
| Gets an ID string which is just the other information in this combined.
const char * | getSelfIdentifier (void)
| Gets the self identifier.
bool | matches (ArServerClientIdentifier identifier, bool matchConnectionID)
| Sees if an identifier matches.
void | rebuildIDString (void)
void | setConnectionID (ArTypes::UByte4 idNum)
| set the id num
void | setHereGoal (const char *selfIdentifier)
| Sets the here goal.
void | setSelfIdentifier (const char *selfIdentifier)
| Sets the self identifier.
virtual | ~ArServerClientIdentifier ()
| Destructor.
## Protected Attributes
ArTypes::UByte4 | myConnectionID
std::string | myHereGoal
std::string | myIDString
std::string | mySelfIdentifier

## Member Function Documentation

bool ArServerClientIdentifier::matches | ( | ArServerClientIdentifier | identifier,
|  | bool | matchConnectionID |
| ) |  |  | `[inline]`

Sees if an identifier matches.

It can either match id, or the other parameters (for the other parameters if the self id matches its a match, otherwise it checks the here goal, and if that matches its a match)... this is so that if someone's set a self id but changes their here goal they'll still get their messages

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

- ArServerClientIdentifier.h