This method allows the Game instance Master to safely add a new player during the course of a game and to notify the remote players of this information.
This method allows the Game instance Master to safely add a new player during the course of a game and to notify the remote players of this information.
This method removes the Local Comms instance from the set of active local Comms objects so it can no longer send or receive messages
NOTE: Deactivate for threads does not actually delete the thread.
This method allows any player, excluding the Transaction master, to request that the transaction be configured as described in the configuration array.
This method allows any player, excluding the Transaction master, to request that the transaction be configured as described in the configuration array.
This method attaches an empty game object instance and configures it for use in the SecurePlay library as a game
NOTE: This method does not set the classAPI because it is an attached game.
This function does a circular, character by character subtraction mod 62 assuming the strings are "right justified" this returns the result as a new string.
Overridden Method from org.xml.sax.HandlerBase Class
When the parser encounters plain text (not XML elements), it calls
this method, which accumulates them in a string buffer
If associated with a transaction: This is an array that holds the Player IDs of the players within the game that are participating in this transaction.
This interface is the Callback Interface for external objects (typically developed games) to receive notifications of significant events from a Game or Transaction instance.
The Game API Class is the interface used to communicate with the Game
Object as well as to manage the creation of the various types of
transactions and other activities associated with controlling a Game.
Note that the two current logs in the SecurePlay Library are the Message log, containing all of the Messages between players of type SPMessage and the Error log, containing all of the Error messages generated of type SPError.
This class encapsulates all of the security functionality for the SecurePlay library
It also virtualizes the services so that they could be changed out in the future.
This class implements the Secret Transaction type - the ability for a single party,
the Transaction Master, to send a single secret to other participants in a non-refutable
fashion.
This utility class is used to serialize SPAbstractMessageClasses to an XML Message document,
and deserialize an XML Message document to a SPMessageClass
SPUxml() -
Constructor for class com.SecurePlay.SPUxml.SPUxml
This method returns a number based on the input array to indicate how many of the input array's player IDs are included in the comms service playerIDList
(This method takes the message and sends it over the network, if they are served by this comms service.)
This method returns a number based on the input array to indicate how many of the input array's player IDs are included in the comms service playerIDList
This method is depreceated and will be removed in a future version of the software
(This method takes the message and sends it over the network, if they are served by this comms service.)
This method serializes only one SPMessageClass into an XML document and gives you the option to include the DTD
(called by the above wrapper methods multiple to serialize multiple or just one)
Overridden Method from org.xml.sax.HandlerBase Class
Every time the parser encounters the beginning of a new element, it
calls this method, which resets the string buffer
This method validates a SPMessageClass instance to check that it is well-formed - that all of the parameters are set from a SPMessageClass perspective.