massim.server
Class Server
java.lang.Object
massim.server.AbstractServer
massim.server.Server
public class Server
- extends AbstractServer
Constructor Summary |
Server()
|
Server(java.lang.String[] args)
|
Method Summary |
void |
config(org.w3c.dom.Element xmlconfiguration)
|
int |
getStep()
|
java.util.HashMap<java.lang.String,java.lang.Integer> |
getTeam_Score()
|
static void |
main(java.lang.String[] args)
|
void |
run()
|
void |
runMatch(org.w3c.dom.Element el_match,
java.util.Map<java.lang.String,java.lang.String> teammap,
java.lang.String name,
org.w3c.dom.Node statmatchparent)
|
int[] |
runMatch(org.w3c.dom.Element el_match,
java.util.Map<java.lang.String,java.lang.String> teammap,
java.lang.String name,
org.w3c.dom.Node statmatchparent,
java.lang.String team1Name,
java.lang.String team2Name)
|
void |
startSimulation()
|
void |
stopSimulation()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AGENT_PORT_DEFAULT
public final int AGENT_PORT_DEFAULT
- See Also:
- Constant Field Values
AGENT_BACKLOG_DEFAULT
public final int AGENT_BACKLOG_DEFAULT
- See Also:
- Constant Field Values
score
public int[] score
socketlistener
protected InetSocketListener socketlistener
serverinetsocketlistener
protected ServerInetSocketListener serverinetsocketlistener
serversimulationagents
protected ServerSimulationAgents serversimulationagents
loginsocketmanager
protected UsernamePasswordSocketLoginManager loginsocketmanager
arrayagentprovider
protected ArrayAgentProvider arrayagentprovider
agentmanager
protected AgentManager agentmanager
teamagentfilter
protected TeamAgentFilter teamagentfilter
rmiregistry
protected java.rmi.registry.Registry rmiregistry
rmiinfoserver2
protected RMIServerStatus rmiinfoserver2
rmitournamentserver
protected massim.server.Server.RMITournamentServer rmitournamentserver
xmlTournamentReport
protected org.w3c.dom.Document xmlTournamentReport
xmlTournamentReportFile
protected java.io.File xmlTournamentReportFile
manual
protected java.util.List<java.lang.String> manual
tournamentname
protected java.lang.String tournamentname
launchSync
protected massim.server.Server.LaunchSync launchSync
tournamentmode
protected int tournamentmode
team_member
public java.util.HashMap<java.lang.String,java.util.List<java.lang.String>> team_member
sr
protected ServerSimulationRun2 sr
el_match
protected org.w3c.dom.Element el_match
stopped
public boolean stopped
Server
public Server()
Server
public Server(java.lang.String[] args)
throws InvalidConfigurationException
- Throws:
InvalidConfigurationException
config
public void config(org.w3c.dom.Element xmlconfiguration)
throws InvalidConfigurationException
- Throws:
InvalidConfigurationException
runMatch
public void runMatch(org.w3c.dom.Element el_match,
java.util.Map<java.lang.String,java.lang.String> teammap,
java.lang.String name,
org.w3c.dom.Node statmatchparent)
throws InvalidConfigurationException
- Throws:
InvalidConfigurationException
runMatch
public int[] runMatch(org.w3c.dom.Element el_match,
java.util.Map<java.lang.String,java.lang.String> teammap,
java.lang.String name,
org.w3c.dom.Node statmatchparent,
java.lang.String team1Name,
java.lang.String team2Name)
throws InvalidConfigurationException
- Throws:
InvalidConfigurationException
run
public void run()
throws InvalidConfigurationException
- Throws:
InvalidConfigurationException
main
public static void main(java.lang.String[] args)
throws InvalidConfigurationException
- Throws:
InvalidConfigurationException
startSimulation
public void startSimulation()
stopSimulation
public void stopSimulation()
getStep
public int getStep()
getTeam_Score
public java.util.HashMap<java.lang.String,java.lang.Integer> getTeam_Score()
Copyright © 2011. All Rights Reserved.