|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of DrinkLoggerSpec in |
| Classes in Default Package that implement DrinkLoggerSpec | |
static class |
DBPorter.SysoutLogger
TODO: Make this its own class. |
private static class |
DBTest.NullLogger
|
class |
LocalDrinkLogger
A basic class to perform logging for the drink software. |
class |
NetLogClient
The client side of the software that implements the remote logging capabilities for the drink software. |
| Fields in Default Package declared as DrinkLoggerSpec | |
protected DrinkLoggerSpec |
BasicDrinkServer.log
The DrinkLoggerSpec that we use to log stuff. |
private DrinkLoggerSpec |
ClientServer.log
The DrinkLoggerSpec we log all our errors/etc to. |
private DrinkLoggerSpec |
DBLocalAcctMgr.log
The DrinkLoggerSpec to log information/errors/aborts to. |
private DrinkLoggerSpec |
FakeDrinkMachine.log
The Object that we send our log messages to. |
private DrinkLoggerSpec |
FingerServer.log
Where we send our log messages for info/errors/etc. |
private DrinkLoggerSpec |
LittleDrinkMachine.log
The class we send our log messages to. |
private DrinkLoggerSpec |
LocalAcctMgr.log
Our logger. |
private DrinkLoggerSpec |
NetAcctClient.log
Where we send all of our log messages. |
private DrinkLoggerSpec |
NetAcctServer.log
The class to use for logging. |
(package private) DrinkLoggerSpec |
NetAcctServer.NetAcctServerSession.log
|
private DrinkLoggerSpec |
NetLogServer.log
The log an individual session uses to write the actual message. |
private DrinkLoggerSpec |
SundayServer.log
The drink machine |
private DrinkLoggerSpec |
TINIDrinkMachine.log
The class we send all of our log information to. |
| Methods in Default Package with parameters of type DrinkLoggerSpec | |
static boolean |
ImapAuth.authenticate(DrinkLoggerSpec log,
String username,
String password)
Wrapper function - uses the default host and port. |
static boolean |
ImapAuth.authenticate(DrinkLoggerSpec log,
String username,
String password,
String hostname,
int port)
Perform the authentication. |
| Constructors in Default Package with parameters of type DrinkLoggerSpec | |
ClientServer(DrinkMachineSpec _drink,
AcctMgrSpec _acct,
DrinkLoggerSpec _log,
ConfigMgr _config)
This is the constructor for the ClientServer class. |
|
DBLocalAcctMgr(DrinkLoggerSpec inLog,
ConfigMgr inConfigMgr)
Pulls the configuration data (host, db, user, pass) from the given ConfigMgr object. |
|
DBLocalAcctMgr(DrinkLoggerSpec log,
String host,
String db,
String user,
String pass)
Construct the account manager by trying to connect to the db server. |
|
FakeDrinkMachine(ConfigMgr _configMgr,
DrinkLoggerSpec _log)
Takes a string for the configfile to user. |
|
FingerServer(DrinkMachineSpec _drink,
AcctMgrSpec _acct,
DrinkLoggerSpec _log,
ConfigMgr _config)
Constructs the FingerServer. |
|
LittleDrinkMachine(ConfigMgr _configMgr,
DrinkLoggerSpec _log)
Construct the LittleDrinkMachine by saving the passed in parameters, reading in the config file, and reading in a few variables. |
|
LocalAcctMgr(DrinkLoggerSpec inLog,
ConfigMgr inConfig)
Saves the DrinkLogger variable and sets up the hashmap from the accounts text file. |
|
NetAcctClient(DrinkLoggerSpec inLog,
ConfigMgr inConfigMgr)
Construct a new NetAcctClient to connect to the specified NetAcctServer on the specified port. |
|
NetAcctServer(DrinkLoggerSpec inLog,
AcctMgrSpec inAcct,
int inPort)
Instantiates a new NetAcctServer to listen for and handle incoming connections by threading-off the new connections. |
|
NetAcctServer.NetAcctServerSession(Socket s,
AcctMgrSpec m,
DrinkLoggerSpec l)
Constructs the session. |
|
NetLogServer(DrinkLoggerSpec log,
Socket socket)
Set up an individual session of logging. |
|
SundayServer(DrinkMachineSpec inDrink,
AcctMgrSpec inAcctMgr,
DrinkLoggerSpec inLog,
ConfigMgr inConfigMgr)
Constructor. |
|
TINIDrinkMachine(ConfigMgr _configMgr,
DrinkLoggerSpec _log)
Construct the TINIDrinkMachine by saving the passed in parameters and reading in a few variables. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||