Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

marauroa.game.* (31)marauroa.net.* (32)

marauroa: Javadoc index of package marauroa.


Package Samples:

marauroa.game
marauroa.net

Classes:

RWLock: This class is a Reader/Writters lock A Reader Writer Lock is a synchronization mechanism allowing access to data. It allows multiple threads to read the data simultaneously, but only one thread at a time to update it. While a thread is updating, no other thread can read the data. The name is misleading. It may cause you to think there are two locks; in reality there is a single lock that restricts both reading and writing.
PlayerEntryContainer: This class contains a list of the Runtime players existing in Marauroa, but it also links them with their representation in game and in database, so this is the point to manage them all.
RPScheduler: This class represent a scheduler to deliver action by turns, so every action added to the scheduler is executed on the next turn. Each object can cast as many actions as it wants.
MessageS2CServerInfo: The CharacterListMessage is sent from server to client to inform client about any relevant info the server has to transmit. They are in the form of =
GameServerManager: The GameServerManager is a active entity of the marauroa.game package, it is in charge of processing all the messages and modify PlayerEntry Container accordingly.
NetworkServerManager: The NetworkServerManager is the active entity of the marauroa.net package, it is in charge of sending and recieving the packages from the network.
MessageC2SLogin: This message indicate the server that the client wants to login and send the needed info: username and password to login to server.
PlayerDatabaseFactory: MessageFactory is the class that is in charge of creating the correct object for the database choosed in the configuration file.
MessageS2CCharacterList: The CharacterListMessage is sent from server to client to inform client about the possible election of character to play with.
MemoryPlayerDatabase: This is memory interface to the database, when you init it, it is empty, and when you finish the application it is emptied.
JDBCPlayerDatabase: This is JDBC interface to the database. Actually it is limited to MySQL because we are using the AUTO_INCREMENT keyword.
RPActionFactory: This class is used to creating a RPAction object from a stream or to serialize a RPAction object to a stream.
RPObjectFactory: This class is used to creating a RPObject object from a stream or to serialize a RPObject object to a stream.
MessageS2CPerception: This message indicate the client the objects that the server has determined that this client is able to see.
OutputSerializer: OutputSerializer is used to serialize classes that implement the Serializable interface into a OutputStream.
InputSerializer: InputSerializer is used to serialize classes that implement the Serializable interface from a InputStream.
RPRuleProcessor: Interface for the class that is in charge of executing actions. Implement it to personalize the game
MessageC2SChooseCharacter: This message indicate the server what of the available characters is chosen for the session to play.
MessageC2SLogout: The Logout Message is sent from client to server to indicate that it wants to finish the session.
Message: Message is a class to represent all the kind of messages that are possible to exist in marauroa.
MessageFactory: MessageFactory is the class that is in charge of building the messages from the stream of bytes.
NetworkClientManager: The NetworkClientManager is in charge of sending and recieving the packages from the network.
RPServerManager: This class is responsible for adding actions to scheduler, and to build and sent perceptions
Serializable: Interface of all the object that wants to be able to be converted into a stream of bytes.
MessageS2CChooseCharacterACK: This message indicate the client that the server has accepted its ChooseCharacter Message

Home | Contact Us | Privacy Policy | Terms of Service