#include <SPTRandomClass.h>
Inheritance diagram for SecurePlayLibrary::SPTRandomClass:

|
|
Default Constructor |
|
|
Default Destructor |
|
||||||||||||||||||||||||
|
Overloaded Constructor
|
|
||||||||||||||||||||
|
This method allows the creation of a new MultiPartSimultaneous type, internally controlled transaction. It also sends a message to the other transaction and game participants about this new transaction.
|
|
|
This action can only be initiated by the Transaction master. It sends a "beginTransaction" message to all of the transaction participants. A Transaction can only be begun if it has been successfully configured.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
This method overrides the SPAbstractTransactionClass method. It supports the distribution of the shoe master player key to allow the shoe to be subsequently verified.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
||||||||||||||||||||
|
This method handles the specific configuration required for a Shoe
|
|
||||||||||||
|
This method overrides the APIconfigureTransaction included in the SPAbstractTransactionClass. It supports the configuration of the decksize,replacement, and shoeexpire parameters. NOTE, this method also triggers a series of onXXX handlers to completely configure the shoe. it does not use or override the onconfigureTransaction portion of the AbstractTransactionClass, also, the handlers for this method are triggered by the local princomingTransaction handler.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
||||||||||||||||||||
|
This method allows the creation of a new MultiPartSimultaneous type, internally controlled transaction. It also sends a message to the other transaction and game participants about this new transaction.
|
|
||||||||||||||||||||
|
This method handles either requests or local generation of random events by the shoe master. Either a request message will be sent to the shoe master or the shoe master will generate the number of random events specified by (count) and send them to the specified receivers. This value is protected based on the privacy flag.
|
|
|
This method returns an array that includes the last set of random events provided by the shoe master.
|
|
|
This method returns a random event from the dealtEventList property as specified by the index.
|
|
|
This method allows any transaction participant excluding the Transaction master to request that the transaction be begun. This can only be done after the transaction has been configured.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
This method creates a new transaction with the identical participants and configuration as the spawning transaction.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
||||||||||||||||||||
|
This method allows the creation of a new MultiPartSimultaneous type, internally controlled transaction. It also sends a message to the other transaction and game participants about this new transaction.
|
|
|
This method verifies a shoe once the transaction has been completed. There is a third state that is possible - where a shoe was used for virtual events that did not include specific players. If those events are not exchanged elsewhere, a partial verification is all that is possible - that the shoe is "consistent" with known data.
|
|
|
This method provides the unique transaction creation services for spawned Random transactions |
|
|
This method provides the unique transaction creation services for spawned Random transactions Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
||||||||||||||||||||||||
|
This method creates a SPMultiPartSimultaneousClass transaction.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Getter function that returns the property: dealtEventList
|
|
|
Getter function that returns the property: lastcount
|
|
|
Getter function that returns the property: prdeckSize
|
|
|
Getter function that returns the property: prexpireeventcount
|
|
|
Getter function that returns the property: prkeyArray
|
|
|
Getter function that returns the property: prkeySize
|
|
|
Getter function that returns the property: prplayerKeyList
|
|
|
Getter function that returns the property: prplayerKeyTransformList
|
|
|
Getter function that returns the property: prremainingValuesList
|
|
|
This method gets the transaction type.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Getter function that returns the property: built
|
|
|
Getter function that returns the property: prreplacement
|
|
|
This method handles incoming "completeTransaction" messages. It overrides the default SPAbstractTransactionClass method. It also stores the incoming shoe master player key.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
||||||||||||
|
This method handles incoming "completeTransaction" messages. It overrides the default SPAbstractTransactionClass method. It also stores the incoming shoe master player key.
|
|
|
This method/event handles the initial response to the APIconfigureTransaction call by the Transaction Master. It verifies that the message was from the transaction master, loads the master player key transform, and triggers the configuration of the shoe (prbuildShoe) method. It also initiates sending of all internal player key transforms to the other remote players.
|
|
|
This method handles incoming random events from the shoe master. The new random events are appended to the dealtEventlist array.
|
|
|
This method handles the unique processing associated with incoming requests to configure a Shoe Class.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
This method handles incoming requests to generate Random events. This message must be sent by a party not the shoe master with a recipient of the shoe master. It also includes the proposed parameters for the shoe master to use. api.rulesgenerateRandomEvent is used to determine if this request is accepted.
|
|
|
This method handles incoming "sendPlayerKey" messages. It is the third stage in the configuration of the shoe. Once all player keys are recieved, excluding the shoe master's, the shoe master will create the game key (prKeyArray) and the shoe status will move to "ready";
|
|
|
This method handles incoming "sendPlayerKeyTransform" messages. This is the second stage of the shoe configuration process. Once all of the player key transforms are received, all of the player keys are sent to the remote players, excluding the shoe master/transaction master key.
|
|
|
This method handles incoming spawn messages.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
This method provides the core configuration common to all shoes. It sets the deckSize, replacement, and expireevent counter.
|
|
|
This method is used to check the status of the loading of Player Keys during the Shoe configuration process. It is used internally to determine that the initialization phase has been complete.
|
|
|
This method actually builds the game key from the various player keys. It combines them by essentially doing "character by character" addition. |
|
|
This method actually generates the random values. It generates a single random value based on the settings in the shoe and stores and updates the shoe properties appropriately.
|
|
|
This method provides the unique handlers for incoming Secret turn message types
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Unique initialization method Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Registers this transaction.
|
|
|
This method provides the unique transaction configuration services for spawned Shoe transactions |
|
|
Gets this class's API
|
|
|
This property is set to bool TRUE if the Shoe has been constructed and FALS E, if not |
|
|
This property holds the sequential array of dealt random events. |
|
|
This property holds the last requested number of random events generated. It is used by the APIgetlastRandomEvents method. |
|
|
This property holds the size of the deck or shoe. It is set during the configuration of the shoe. |
|
|
This property sets the number of random events that can be generated from the deck. If the value is 0 or negative, the shoe does not expire due to this limit (though it may expire if the shoe has other size limits, such as sampling with out replacement). This parameter is important in that generating an excessive number of random events from a single shoe may endanger the performance of the game (the obvious example being the "burning" of a shoe in Blackjack). |
|
|
The keyArray is the computed key generated from all of the player keys. |
|
|
This property holds the size of the shoe key. The default is set by the SecurePlay library. Careful selection of this parameter is important as it determines the strength of the randomization function. |
|
|
This is an associative array that holds the player key string associated with each player. |
|
|
This property holds the associative array of transforms of the player keys. |
|
|
This array holds the remaining values that are possible for shoes that are sampled without replacement. Actual random values are generated and then indexed into this array to determine the dealt random event. |
|
|
This flag determines whether the shoe uses sampling with replacement (like rolling a dice) or sampling without replacement (like dealing cards from a deck or a lottery number draw). If this is set to false, the prremainingValuesList array is created. |
|
|
This is a duplicate of the prremainingValuesList property that is used for Shoe verification. See the other object for additional details. |
|
|
This is a duplicate of the dealtEventList array that is used for verification purposes only. See the dealtEventList property for further details. |
|
|
This property holds three states: TRUE, if the Random can be completely verified, FALSE, if verification fails or the Random is not complete, and CONSISTENT if the Random is complete and the data is consistent with a valid Random but the Random cannot be completely verified (due to private random events). |