|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectBasicDrinkServer
TINIDrinkServer
Top-level class for the TINI drink machine implementation of the drink software. Tells BasicDrinkServer to pre-init, we then create our DrinkMachineSpec, and tell BasicDrinkServer to finish initializations. --# NOTE #-- This class was branched from DrinkServer.java, for the long term purpose of naming consistancy.
FakeDrinkServer| Field Summary | |
static String |
defaultConfigName
The default filename for the configfile. |
private static DrinkMachineSpec |
drink
The DrinkMachineSpec that we will fill in with TINIDrinkMachine, and later pass to BasicDrinkMachine. |
| Fields inherited from class BasicDrinkServer |
acct, config, configfile, log |
| Constructor Summary | |
TINIDrinkServer(String configFile)
Starts the server. |
|
| Method Summary | |
static void |
main(String[] args)
TINIDrinkServer needs to be instantiated so that it may properly make use of BasicDrinkServer. |
private static void |
printUsage()
A simple helper method to print the usage statement. |
| Methods inherited from class BasicDrinkServer |
stage1, stage2 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String defaultConfigName
private static DrinkMachineSpec drink
| Constructor Detail |
public TINIDrinkServer(String configFile)
| Method Detail |
public static void main(String[] args)
private static void printUsage()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||