#include <ArServerClientIdentifier.h>
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 |
| 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
1.5.1