#include <AuthModule.h>
Public Member Functions | |
void | ReceivePacket (CPacket *) |
since this is a connected module, this function is required to be implemented. | |
void | Connect2Session (string username, string pass, string hostname) |
TR func: this is what should be called when you want to connect to a facilitator (server). | |
void | SetConnectionState (char s) |
TR func: direct access to conenction state, use it wise. | |
Static Public Member Functions | |
static CAuthModule * | GetInstance () |
sub classes should implement this for easy access to self (which is a singleton) | |
Protected Member Functions | |
bool | handle_AuthReset (const CEGUI::EventArgs &e) |
TR method only: when a connection attempt fails somehow, call this. | |
bool | sendAuthPacket (const string &username, string pass) |
TR method only: after connection is established send authentication packaet to facilitator. | |
Protected Attributes | |
char | mConnState |
TR data only, in what stage the comm request is in? | |
string | mTraineeName |
TR data only. | |
string | mTraineePass |
TR data only. | |
vector< string > | mTraineePackageCheck |
FC data only: names of the trainees who completed authentication, but require package installation check. |