|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gecco.server.core.ReferenceHolder
This class holds references to all important modules of the server. The modules can then get references to the other modules via this class.
Field Summary | |
private static ActionProcessor |
actionProcessor
Description of the Field |
private static AutomatonMap |
automatonMap
Description of the Field |
private static Client |
comClient
Description of the Field |
private static Server |
comServer
Description of the Field |
static PrintWriter |
err
Standard error output |
private static ClassLoader |
gameClassLoader
This is the ClassLoader that is used to load classes from the jar file making up a particular game. |
static BufferedReader |
in
Standard input |
private static LogManager |
logManager
Description of the Field |
static PrintWriter |
out
Standard output |
private static QManager |
qManager
Description of the Field |
private static UnitManager |
unitManager
Description of the Field |
private static VisibilityManager |
visibilityManager
Description of the Field |
Constructor Summary | |
ReferenceHolder()
|
Method Summary | |
static ActionProcessor |
getActionProcessor()
Gets the ActionProcessor attribute of the ReferenceHolder class |
static AutomatonMap |
getAutomatonMap()
Gets the AutomatonMap attribute of the ReferenceHolder class |
static Client |
getComClient()
Gets the ComClient attribute of the ReferenceHolder class |
static Server |
getComServer()
Gets the ComServer attribute of the ReferenceHolder class |
static ClassLoader |
getGameClassLoader()
|
static LogManager |
getLogManager()
Gets the LogManager attribute of the ReferenceHolder class |
static QManager |
getQManager()
Gets the QManager attribute of the ReferenceHolder class |
static UnitManager |
getUnitManager()
Gets the UnitManager attribute of the ReferenceHolder class |
static VisibilityManager |
getVisibilityManager()
Gets the VisibilityManager attribute of the ReferenceHolder class |
static void |
setActionProcessor(ActionProcessor _actionProcessor)
Sets the ActionProcessor attribute of the ReferenceHolder class |
static void |
setAutomatonMap(AutomatonMap map)
Sets the AutomatonMap attribute of the ReferenceHolder class |
static void |
setComClient(Client _comClient)
Sets the ComClient attribute of the ReferenceHolder class |
static void |
setComServer(Server _comServer)
Sets the ComServer attribute of the ReferenceHolder class |
static void |
setGameClassLoader(ClassLoader loader)
|
static void |
setLogManager(LogManager _logManager)
Sets the LogManager attribute of the ReferenceHolder class |
static void |
setQManager(QManager _qManager)
Sets the QManager attribute of the ReferenceHolder class |
static void |
setUnitManager(UnitManager _unitManager)
Sets the UnitManager attribute of the ReferenceHolder class |
static void |
setVisibilityManager(VisibilityManager _visibilityManager)
Sets the VisibilityManager attribute of the ReferenceHolder class |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static UnitManager unitManager
private static QManager qManager
private static VisibilityManager visibilityManager
private static LogManager logManager
private static ActionProcessor actionProcessor
private static AutomatonMap automatonMap
private static Client comClient
private static Server comServer
private static ClassLoader gameClassLoader
public static BufferedReader in
public static PrintWriter out
public static PrintWriter err
Constructor Detail |
public ReferenceHolder()
Method Detail |
public static void setAutomatonMap(AutomatonMap map)
map
- The new AutomatonMap valuepublic static void setLogManager(LogManager _logManager)
_logManager
- The new LogManager valuepublic static void setActionProcessor(ActionProcessor _actionProcessor)
_actionProcessor
- The new ActionProcessor valuepublic static void setUnitManager(UnitManager _unitManager)
_unitManager
- The new UnitManager valuepublic static void setQManager(QManager _qManager)
_qManager
- The new QManager valuepublic static void setComClient(Client _comClient)
_comClient
- The new ComClient valuepublic static void setComServer(Server _comServer)
_comServer
- The new ComServer valuepublic static void setVisibilityManager(VisibilityManager _visibilityManager)
_visibilityManager
- The new VisibilityManager valuepublic static void setGameClassLoader(ClassLoader loader)
public static AutomatonMap getAutomatonMap()
public static LogManager getLogManager()
public static ActionProcessor getActionProcessor()
public static UnitManager getUnitManager()
public static QManager getQManager()
public static Client getComClient()
public static Server getComServer()
public static VisibilityManager getVisibilityManager()
public static ClassLoader getGameClassLoader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |