CAuthModule Class Reference

#include <AuthModule.h>

Inheritance diagram for CAuthModule:

CModule_Conn CModule CSingleton

List of all members.

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 CAuthModuleGetInstance ()
 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.


Detailed Description

Authentication module Facilitator Usage: If an auth packet comes, process it. Fac auth module only waits for packages Trainee Usage: Manages connection steps to a facilitator
The documentation for this class was generated from the following file:

Generated on Fri Jun 13 19:46:38 2008 for OPSIMUS by  doxygen 1.5.5