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

Public Member Functions | |
| SPTRandomAPIClass () | |
| ~SPTRandomAPIClass () | |
| SPTRandomAPIClass (SPTRandomClass *transactioninstance) | |
| bool | APIcompleteTransaction (string pid) |
| bool | APIconfigureTransaction (string sender, vector< string > configarr) |
| bool | APIconfigureTransaction (string sender, int decksize, bool replacement, int expiration) |
| bool | APIgenerateRandomEvent (string sender, vector< string > receivers, bool privacy, int count) |
| vector< string > | APIgetlastRandomEvents () |
| int | APIgetRandomEvent (int index) |
| bool | rulesgenerateRandomEvent (string source, vector< string > receivers, bool privacy, int count, SPTRandomClass *transobj) |
| bool | rulesconfigureTransaction (string pid, vector< string > configarr, SPAbstractTransactionInterface *transobj) |
Private Attributes | |
| const bool | librarytestmode |
| SPTRandomClass * | traninst |
|
|
Default Constructor |
|
|
Default Destructor |
|
|
Overloaded Constructor
|
|
|
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::SPAbstractTransactionAPIClass. |
|
||||||||||||||||||||
|
|
|
||||||||||||
|
This method allows the Transaction Master ONLY to configure the transactions unique parameters. NOTE, this method will be overridden for individual transaction types.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionAPIClass. |
|
||||||||||||||||||||
|
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 shell method supports remote requests to configure an existing transaction. Only the transaction master can actually configure the transaction.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionAPIClass. |
|
||||||||||||||||||||||||
|
This is a shell function to request the remote invocation of a generateRandomEvents method. This is probably the most likely rules function to be overwritten by game specific rules logic
|
|
|
This should be set to FALSE for production systems or all "rulesXXXX methods should be edited Reimplemented from SecurePlayLibrary::SPAbstractTransactionAPIClass. |
|
|
Instance of SPShoeClass |