Package | Description |
---|---|
server.commands | |
server.commands.game | |
server.commands.games | |
server.commands.moves | |
server.commands.user | |
server.commands.util | |
server.persistence |
Modifier and Type | Class and Description |
---|---|
class |
CookieCommand |
Modifier and Type | Method and Description |
---|---|
ICommand |
ICommandBuilder.BuildCommand()
Builds a command.
|
abstract ICommand |
Factory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object)
Gets the necessary command from the provided data.
|
ICommand |
CommandFactory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object) |
Modifier and Type | Class and Description |
---|---|
class |
GameAddAICommand
Command object that adds an AI to a game.
|
class |
GameCommandsCommand
Command class that allows commands to be executed on the server.
|
class |
GameListAICommand
Command object that returns a list of available AI
|
class |
GameModelCommand
Command object that gets game models from the server.
|
class |
GameResetCommand
Command to reset the command history of the current game.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<ICommand> |
GameCommandsCommand.commands |
private java.util.List<ICommand> |
GameCommandFactory.CommandsBuilder.commands |
Modifier and Type | Method and Description |
---|---|
ICommand |
GameCommandFactory.AddAIBuilder.BuildCommand() |
ICommand |
GameCommandFactory.CommandsBuilder.BuildCommand() |
ICommand |
GameCommandFactory.ListAIBuilder.BuildCommand() |
ICommand |
GameCommandFactory.ModelBuilder.BuildCommand() |
ICommand |
GameCommandFactory.ResetBuilder.BuildCommand() |
ICommand |
GameCommandFactory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object) |
Constructor and Description |
---|
GameCommandsCommand(NetworkCookie cookie,
java.util.List<ICommand> commands)
Creates a command to allow the execution of commands.
|
Modifier and Type | Class and Description |
---|---|
class |
GamesCreateCommand
Command to create a new game.
|
class |
GamesJoinCommand
Command to handle joining an existing game.
|
class |
GamesListCommand
Command to get all the games from the server.
|
class |
GamesLoadCommand
Command that handles loading games that have been previously saved.
|
class |
GamesSaveCommand
Command to handle saving a game.
|
Modifier and Type | Method and Description |
---|---|
ICommand |
GamesCommandFactory.CreateBuilder.BuildCommand() |
ICommand |
GamesCommandFactory.JoinBuilder.BuildCommand() |
ICommand |
GamesCommandFactory.ListBuilder.BuildCommand() |
ICommand |
GamesCommandFactory.LoadBuilder.BuildCommand() |
ICommand |
GamesCommandFactory.SaveBuilder.BuildCommand() |
ICommand |
GamesCommandFactory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object) |
Modifier and Type | Class and Description |
---|---|
class |
MovesAcceptTradeCommand
Command that handles accepting of trades.
|
class |
MovesBuildCityCommand
Command that handles the building up of cities.
|
class |
MovesBuildRoadCommand
Command class that handles building roads.
|
class |
MovesBuildSettlementCommand
Command that handles the building of settlements.
|
class |
MovesBuyDevCardCommand
Command class that allows Dev cards to be bought.
|
class |
MovesCommand |
class |
MovesDiscardCardsCommand
Command that handles discarding cards.
|
class |
MovesFinishTurnCommand
Class that handles finishing a turn.
|
class |
MovesMaritimeTradeCommand
Command that handles maritime trade.
|
class |
MovesMonopolyCommand
Command for handling the monopoly card.
|
class |
MovesMonumentCommand
Command class that handles playing of monument card.
|
class |
MovesOfferTradeCommand
Command that handles offering of trades to amigos.
|
class |
MovesRoadBuildingCommand
Command object that handles the road building card.
|
class |
MovesRobPlayerCommand
Class that handles robbing a player.
|
class |
MovesRollNumberCommand
Command that deals with the rolling of dice.
|
class |
MovesSendChatCommand
Command object updates the water cooler.
|
class |
MovesSoldierCommand
Command object that handles playing of the soldier card.
|
class |
MovesYearOfPlentyCommand
Command object that allows the playing of the Year of Plenty card.
|
Modifier and Type | Method and Description |
---|---|
ICommand |
MovesCommandFactory.AcceptTradeBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.BuildCityBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.BuildRoadBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.BuildSettlementBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.BuyDevCardBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.DiscardCardsBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.FinishTurnBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.MaritimeTradeBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.MonopolyBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.MonumentBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.OfferTradeBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.RoadBuildingBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.RobPlayerBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.RollNumberBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.SendChatBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.SoldierBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.YearOfPlentyBuilder.BuildCommand() |
ICommand |
MovesCommandFactory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object) |
Modifier and Type | Class and Description |
---|---|
class |
UserLoginCommand
Handles logging in to the game.
|
class |
UserRegisterCommand
Handles registering a user.
|
Modifier and Type | Method and Description |
---|---|
ICommand |
UserCommandFactory.LoginBuilder.BuildCommand() |
ICommand |
UserCommandFactory.RegisterBuilder.BuildCommand() |
ICommand |
UserCommandFactory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object) |
Modifier and Type | Class and Description |
---|---|
class |
UtilChangeLogLevelCommand
Command for changing the log level of the server.
|
Modifier and Type | Method and Description |
---|---|
ICommand |
UtilCommandFactory.ChangeLogLevelBuilder.BuildCommand() |
ICommand |
UtilCommandFactory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ICommand> |
PersistenceFacade.GetAllCommands()
Get all the commands that have been played but haven't been updated into the blob
|
java.util.List<ICommand> |
PersistenceFacade.GetCommands(int gameID)
Get all the commands associated with a game
|
Modifier and Type | Method and Description |
---|---|
void |
PersistenceFacade.AddCommand(int gameID,
ICommand command)
Adds a command to the database
|