A B C D E F G H I L M N P Q R S T U V

C

calculateTime() - Method in class server.testmodules.TestModule.Timer
Calculates the time the message took from the server to the client and back.
calculateValues(TestModule.Timer[], int) - Method in class server.testmodules.PingTest
Method that calculates the minimum, maximum and average response time for the specified interval number.
calculateValues(TestModule.Timer[], int) - Method in class server.testmodules.TestModule
Calculates values from the Timers.
calculateValues(TestModule.Timer[], int) - Method in class server.testmodules.TransferSpeedTest
Method that calculates the minimum, maximum and average transfer time for the specified interval number.
check() - Method in class client.framework.views.GameView
Method called continously throughout a game.
checkInput() - Method in class client.framework.views.GameView
Checks whether any keys have been pressed.
checkResolution() - Method in class server.framework.models.AbstractSession
Loops through all player's resolution, and finds the maximum resolution that will fit with all connected client phones.
checkSettings() - Method in class server.brickblock.fwimpl.BBEventHandler
Checks if the game has timed out, or if the number of players connected to the session is too large.
checkSettings() - Method in interface server.framework.threads.EventHandler
A method that should be called by the thread itself continuously.
clean() - Method in class client.brickblock.fwimpl.BBBoard
Empties all the class' object lists.
clean() - Method in class client.framework.views.GameView
Abstract method that should contain functionality for releasing occupied resources and resetting the game view's state.
client.brickblock.fwimpl - package client.brickblock.fwimpl
 
client.brickblock.objects - package client.brickblock.objects
 
client.framework - package client.framework
 
client.framework.models - package client.framework.models
 
client.framework.network - package client.framework.network
 
client.framework.network.parser - package client.framework.network.parser
 
client.framework.views - package client.framework.views
 
ClientSocketCommunicator - Class in client.framework.network
This class is a Communicator object that communicates using SocketConnection or UDPDatagramConnection objects for its communication, dependent of whether the transport protocol in use is TCP or UDP, respectively.
ClientSocketCommunicator(AbstractGame, int) - Constructor for class client.framework.network.ClientSocketCommunicator
Creates a ClientSocketCommunicator object.
ClientSocketCommunicator.SenderThread - Class in client.framework.network
Thread responsible for sending messages to the server.
close() - Method in class client.framework.network.ClientSocketCommunicator
Called when the connection is closed.
close() - Method in interface client.framework.network.Communicator
Used to close the communicator object, and free resources.
close() - Method in interface server.framework.network.Communicator
Used to close the communicator object, and free resources.
close() - Method in class server.framework.network.ServerSocketCommunicator
Closes the connection.
close() - Method in class server.framework.network.SocketWrapper
Closes the connection when this is needed (TCP only)
close() - Method in class server.testmodules.TestModule
Closes the connection.
COMM - Static variable in class client.framework.views.StartupWindow
 
commandAction(Command, Displayable) - Method in class client.framework.views.GameView
Method inherited from the CommandListener interface.
commandAction(Command, Displayable) - Method in class client.framework.views.LobbyView
Method implemented from CommandListener.
commandAction(Command, Displayable) - Method in class client.framework.views.SessionWindow
Called when the user selects one of the available commands.
commandAction(Command, Displayable) - Method in class client.framework.views.SettingsWindow
Method implemented from CommandListener.
commandAction(Command, Displayable) - Method in class client.framework.views.StartupWindow
Called when the user selects the "OK" command.
communicator - Variable in class client.framework.models.AbstractGame
 
Communicator - Interface in client.framework.network
An interface that specifies methods for connecting to and communicating with a server.
Communicator - Interface in server.framework.network
 
Comparable - Interface in client.framework.models
Interface allowing comparation of two objects.
compareTo(Comparable) - Method in class client.framework.models.AbstractPlayer
Method inherited from the Comparable interface.
compareTo(Comparable) - Method in interface client.framework.models.Comparable
Compares the object implementing the method to the object passed as input parameter.
compareTo(AbstractPlayer) - Method in class server.framework.models.AbstractPlayer
Compares two player objects.
connect(String[]) - Method in class client.framework.network.ClientSocketCommunicator
Connects to the specified address(es).
connect(String[]) - Method in interface client.framework.network.Communicator
Connects to the server(s) with the specified address(es).
connect(String[]) - Method in interface server.framework.network.Communicator
Connects to the server(s) with the specified address(es).
connect(String[]) - Method in class server.framework.network.ServerSocketCommunicator
Not implemented, since this is the server implementation.
connect(String[]) - Method in class server.testmodules.TestModule
Uses the parent class implementation.
createBackgroundImage() - Method in class client.brickblock.fwimpl.BBBoard
Creates a background image that covers the entire game board.
createBackgroundImage() - Method in class client.framework.views.GameView
Abstract method that is used for defining the background of the game board.
createEventHandler() - Method in class server.brickblock.fwimpl.BBSession
Creates a BBEventHandler instance.
createEventHandler() - Method in class server.framework.models.AbstractSession
Creates an EventHandler instance of the correct type.
createGameView() - Method in class client.brickblock.fwimpl.BrickBlock
Returns a new GameView instance, which is this game's implementation of the GameView class.
createGameView() - Method in class client.framework.models.AbstractGame
Creates a game view of the implementing game's specified type, and returns this.
createImage(int, int, int, int, int) - Static method in class client.framework.Utils
Creates a monocolored Image object.
createMessage(Action, Object[][]) - Method in interface client.framework.network.parser.MessageParser
Creates a message in the specified format from an Action identifier and an array of values.
createMessage(Action, Object[][]) - Method in class client.framework.network.parser.StringParser
Creates a string message in the specified format from the given action identifier and values.
createMessage(Action, Object[][], AbstractPlayer) - Method in interface server.framework.network.parser.MessageParser
Creates a message in the specified format from an Action identifier, an array of values, and a sender.
createMessage(Action, Object[][], AbstractPlayer) - Method in class server.framework.network.parser.StringParser
Creates a string message in the specified format from the given action identifier and values.
createPlayer(SocketWrapper) - Method in class server.framework.models.AbstractServer
Creates a player object owning the specified SocketWrapper object.
createPlayerInstance(SocketWrapper, TestModule.TestType) - Method in class server.brickblock.fwimpl.BBServer
Creates a BBPlayer instance.
createPlayerInstance(SocketWrapper, TestModule.TestType) - Method in class server.framework.models.AbstractServer
Creates a player object owning the specified SocketWrapper object.
createPowerup(String, int, int, int) - Static method in class client.brickblock.objects.Powerup
Creates a power up object with the given attributes.
createSessionInstance(TestModule.TestType) - Method in class server.brickblock.fwimpl.BBServer
Creates a BBSession instance.
createSessionInstance(TestModule.TestType) - Method in class server.framework.models.AbstractServer
Creates a new session instance of the correct type.
createSpecialSettings() - Method in class client.brickblock.fwimpl.BrickBlock
Not implemented.
createTestModule(TestModule.TestType, SocketWrapper, AbstractServer) - Method in enum server.testmodules.TestModule.TestType
Creates the TestModule type.
currentRun - Variable in class server.testmodules.TestModule
 

A B C D E F G H I L M N P Q R S T U V