|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ITransmittable | |
org.jogre.comm | This package contains a number of communication objects (communication classes start with Comm) amd two Interface's which describe the protocol. |
org.jogre.common | This package contains classes which are common to both a client or a server. |
org.jogre.common.playerstate | This package implements the "state" design pattern for each player at a particular table to easily keep state such as sitting, standing, ready to player etc. |
org.jogre.server | This package contains server specific classes. |
Uses of ITransmittable in org.jogre.comm |
Classes in org.jogre.comm that implement ITransmittable | |
class |
CommChatBroadcast
Communication class which is used to broadcast a chat message to all users. |
class |
CommChatPrivate
Communication class which is used to send private chat from one user to another. |
class |
CommChatTable
Chat communications object for chat at a table. |
class |
CommConnect
Communciations connect object. |
class |
CommDisconnect
Communication class which is used to disconnect a user from the system. |
class |
CommError
Communications class which is used to send an error from the server to a client or vice-versa. |
class |
CommGameOver
Communication object to show that a game is over. |
class |
CommInvite
Communication class which is used to invite a user to a table. |
class |
CommOfferDraw
Communications object which is used when one user offers a draw to another user. |
class |
CommSimpleMessage
This is a base message which all communication objects should extend. |
class |
CommTableAction
Communication class for performming table actions such as creating a new table, joining an existing table, standing up, being ready-to-start and exitting from a table. |
class |
CommTableMessage
Abstract base class for table messages. |
Uses of ITransmittable in org.jogre.common |
Classes in org.jogre.common that implement ITransmittable | |
class |
JogreModel
Abstract class which holds the state/model of a particular game when extended. |
class |
Player
This class contains information about a player, which is a user who has joined a table and wishes to play a game. |
class |
PlayerList
This class contains a list of Player object.s |
class |
Table
Server side data object which holds information on various tables and their current users etc. |
class |
TableList
Contains a HashMap of all the Table objects currently in play. |
class |
User
Transmittable user data object. |
class |
UserList
Transmittable user list data object. |
Methods in org.jogre.common with parameters of type ITransmittable | |
void |
AbstractConnectionThread.send(ITransmittable transObject)
Send a ITransmittable object to the output stream (could be server or client). |
Uses of ITransmittable in org.jogre.common.playerstate |
Classes in org.jogre.common.playerstate that implement ITransmittable | |
class |
PlayerState
Class which describes the state of the various player when they join a table. |
class |
PlayerStateGameStarted
State object for a game started player state. |
class |
PlayerStateReady
State object for a player ready state. |
class |
PlayerStateSeated
State object for a seated player state. |
class |
PlayerStateViewing
State object for a viewing player state. |
Uses of ITransmittable in org.jogre.server |
Methods in org.jogre.server with parameters of type ITransmittable | |
void |
ServerConnectionThread.transmitToTable(int tableNum,
ITransmittable transObject)
Transmit a message to the specified table. |
void |
ServerConnectionThread.transmitToTable(String omitUser,
int tableNum,
ITransmittable transObject)
Transmit a messgae to a table but omit a user (this user will generally be the player who has created the message in the first place). |
void |
ServerConnectionThread.broadcast(ITransmittable transmittableObject)
Broadcast a transmittable object to all the clients. |
void |
ServerConnectionThread.transmit(String username,
ITransmittable transObject)
Overloaded version which takes a ITransmittable object. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |