public class Server extends AbstractServer
Modifier and Type | Field and Description |
---|---|
int |
AGENT_BACKLOG_DEFAULT |
int |
AGENT_PORT_DEFAULT |
protected AgentManager |
agentmanager |
protected ArrayAgentProvider |
arrayagentprovider |
protected Element |
el_match |
protected massim.server.Server.LaunchSync |
launchSync |
protected UsernamePasswordSocketLoginManager |
loginsocketmanager |
protected List<String> |
manual |
protected RMIServerStatus |
rmiinfoserver2 |
protected Registry |
rmiregistry |
protected massim.server.Server.RMITournamentServer |
rmitournamentserver |
int[] |
score |
protected ServerInetSocketListener |
serverinetsocketlistener |
protected ServerSimulationAgents |
serversimulationagents |
protected InetSocketListener |
socketlistener |
protected ServerSimulationRun2 |
sr |
boolean |
stopped |
HashMap<String,List<String>> |
team_member |
protected TeamAgentFilter |
teamagentfilter |
protected int |
tournamentmode |
protected String |
tournamentname |
protected Document |
xmlTournamentReport |
protected File |
xmlTournamentReportFile |
configurationFilenamePath
Modifier and Type | Method and Description |
---|---|
void |
config(Element xmlconfiguration) |
int |
getStep() |
HashMap<String,Integer> |
getTeam_Score() |
static void |
main(String[] args) |
void |
run() |
void |
runMatch(Element el_match,
Map<String,String> teammap,
String name,
Node statmatchparent) |
int[] |
runMatch(Element el_match,
Map<String,String> teammap,
String name,
Node statmatchparent,
String team1Name,
String team2Name) |
void |
startSimulation() |
void |
stopSimulation() |
public final int AGENT_PORT_DEFAULT
public final int AGENT_BACKLOG_DEFAULT
public int[] score
protected InetSocketListener socketlistener
protected ServerInetSocketListener serverinetsocketlistener
protected ServerSimulationAgents serversimulationagents
protected UsernamePasswordSocketLoginManager loginsocketmanager
protected ArrayAgentProvider arrayagentprovider
protected AgentManager agentmanager
protected TeamAgentFilter teamagentfilter
protected Registry rmiregistry
protected RMIServerStatus rmiinfoserver2
protected massim.server.Server.RMITournamentServer rmitournamentserver
protected Document xmlTournamentReport
protected File xmlTournamentReportFile
protected String tournamentname
protected massim.server.Server.LaunchSync launchSync
protected int tournamentmode
protected ServerSimulationRun2 sr
protected Element el_match
public boolean stopped
public Server()
public Server(String[] args) throws InvalidConfigurationException
InvalidConfigurationException
public void config(Element xmlconfiguration) throws InvalidConfigurationException
InvalidConfigurationException
public void runMatch(Element el_match, Map<String,String> teammap, String name, Node statmatchparent) throws InvalidConfigurationException
InvalidConfigurationException
public int[] runMatch(Element el_match, Map<String,String> teammap, String name, Node statmatchparent, String team1Name, String team2Name) throws InvalidConfigurationException
InvalidConfigurationException
public void run() throws InvalidConfigurationException
InvalidConfigurationException
public static void main(String[] args) throws InvalidConfigurationException
InvalidConfigurationException
public void startSimulation()
public void stopSimulation()
public int getStep()
Copyright © 2013. All Rights Reserved.