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

|
|
Private Copy Constructor that protects this class from being copied. |
|
|
Default Constructor |
|
|
Default Destructor |
|
||||||||||||||||||||||||
|
Constructor.
|
|
|
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 in SecurePlayLibrary::SPTBlastClass, and SecurePlayLibrary::SPTRandomClass. |
|
|
This method allows the Transaction Master ONLY to complete the transaction. Transactions that are in an error state cannot be cleared by completion.
Reimplemented in SecurePlayLibrary::SPTBlastClass, and SecurePlayLibrary::SPTRandomClass. |
|
||||||||||||
|
This method allows the Transaction Master ONLY to configure the transactions unique parameters. NOTE, this method will be overridden for individual transaction types.
Reimplemented in SecurePlayLibrary::SPTBlastClass, and SecurePlayLibrary::SPTRandomClass. |
|
|
This method returns the current game block
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
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 in SecurePlayLibrary::SPTBlastClass, and SecurePlayLibrary::SPTRandomClass. |
|
|
This method allows any player, excluding the Transaction master to request that the transactoin be completed.
Reimplemented in SecurePlayLibrary::SPTBlastClass. |
|
||||||||||||
|
This method allows any player, excluding the Transaction master, to request that the transaction be configured as described in the configuration array.
Reimplemented in SecurePlayLibrary::SPTBlastClass. |
|
||||||||||||
|
This method allows the Transaction Master ONLY to set the game block.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
This method creates a new transaction with the identical participants and configuration as the spawning transaction.
Reimplemented in SecurePlayLibrary::SPTRandomClass. |
|
|
This method builds the spawned transaction object
Reimplemented in SecurePlayLibrary::SPTMultiPartSecretClass, SecurePlayLibrary::SPTMultiPartSimultaneousClass, SecurePlayLibrary::SPTMultistepTurnClass, SecurePlayLibrary::SPTRandomClass, SecurePlayLibrary::SPTSecretClass, SecurePlayLibrary::SPTSimultaneousClass, and SecurePlayLibrary::SPTStrobeClass. |
|
||||||||||||||||||||||||
|
Creates a new instance of an Abstract Transaction class.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. Reimplemented in SecurePlayLibrary::SPTMultiPartSecretClass, SecurePlayLibrary::SPTMultiPartSimultaneousClass, SecurePlayLibrary::SPTMultistepTurnClass, SecurePlayLibrary::SPTRandomClass, SecurePlayLibrary::SPTSecretClass, SecurePlayLibrary::SPTSimultaneousClass, and SecurePlayLibrary::SPTStrobeClass. |
|
|
Gets this class's API
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
Getter function that returns the property: configuration
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
Gets the game id
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
Getter function that returns the property: gameinstance
|
|
|
Getter function that returns the property: lasterror
|
|
|
Gets the master of the transaction or game
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
Gets the player id list of the players associated with the transaction or the game.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
Gets the privacy flag of this class.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
Gets the transaction id.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
Getter function that returns the property: transactionstatus
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
This method returns a String of the transactiontype.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
This method gets the transaction type.
Reimplemented in SecurePlayLibrary::SPTBlastClass, SecurePlayLibrary::SPTMultiPartSecretClass, SecurePlayLibrary::SPTMultiPartSimultaneousClass, SecurePlayLibrary::SPTMultistepTurnClass, SecurePlayLibrary::SPTRandomClass, SecurePlayLibrary::SPTSecretClass, SecurePlayLibrary::SPTShipClass, SecurePlayLibrary::SPTSimultaneousClass, and SecurePlayLibrary::SPTStrobeClass. |
|
|
Checks to see if the playr is internal
|
|
|
Getter function that returns the property: privateflag
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
This is a shell method for future use. |
|
|
This method safely updates the state of the Transaction into the "ready" state, if possible. This can only be initiated by the Transaction Master
|
|
|
This method safely updates the state of the Transaction into the "ready" state, if possible. This can only be initiated by the Transaction Master
Reimplemented in SecurePlayLibrary::SPTBlastClass. |
|
|
This method allows the Transaction Master ONLY to complete the transaction. Transactions that are in an error state cannot be cleared by completion.
Reimplemented in SecurePlayLibrary::SPTBlastClass, and SecurePlayLibrary::SPTRandomClass. |
|
|
This method allows the Transaction Master ONLY to complete the transaction. Transactions that are in an error state cannot be cleared by completion.
|
|
||||||||||||
|
This method safely configures a transaction. NOTE: This can only be done by the Transaction master. This method will likely be replaced by any unique transaction class implementation.
|
|
|
This method safely configures a transaction. NOTE: This can only be done by the Transaction master. This method will likely be replaced by any unique transaction class implementation.
Reimplemented in SecurePlayLibrary::SPTBlastClass, and SecurePlayLibrary::SPTShipClass. |
|
|
This method handles the various incoming messages and passes them to the appropriate message type handler.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. Reimplemented in SecurePlayLibrary::SPTBlastClass. |
|
|
This method safely handles requests to begin the transaction. Note, only the Transaction master can begin the transaction.
Reimplemented in SecurePlayLibrary::SPTBlastClass. |
|
|
This method safely handles requests to complete a Transaction by a player that is not the Transaction master.
Reimplemented in SecurePlayLibrary::SPTBlastClass. |
|
|
This method safely handles a request from a player who is not the Transaction master to configure the transaction.
Reimplemented in SecurePlayLibrary::SPTBlastClass, and SecurePlayLibrary::SPTRandomClass. |
|
|
This method safely sets the gameblock. NOTE: This can only be done by the Transaction master.
|
|
|
This method handles incoming spawn messages.
Reimplemented in SecurePlayLibrary::SPTRandomClass. |
|
|
Private = operator that protects this class from being copied. |
|
||||||||||||||||||||||||
|
Initializes the transaction.
|
|
|
this is a shell for unique incoming transactions
Reimplemented in SecurePlayLibrary::SPTMultiPartSecretClass, SecurePlayLibrary::SPTMultiPartSimultaneousClass, SecurePlayLibrary::SPTMultistepTurnClass, SecurePlayLibrary::SPTRandomClass, SecurePlayLibrary::SPTSecretClass, SecurePlayLibrary::SPTSimultaneousClass, and SecurePlayLibrary::SPTStrobeClass. |
|
|
shell to allow unique initialization of transactions Reimplemented in SecurePlayLibrary::SPTMultiPartSimultaneousClass, SecurePlayLibrary::SPTRandomClass, SecurePlayLibrary::SPTSimultaneousClass, and SecurePlayLibrary::SPTStrobeClass. |
|
||||||||||||||||||||||||||||||||
|
This method sends a message. It hands the configured message off to the appropriate comms service. Also, for virtual messages, it sends an alternate message to the parties not recieving the main message.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
||||||||||||
|
This method safely sets the game bock of a transaction. NOTE: This can only be done by the Transaction master.
|
|
|
Sets the transaction id to a specified id.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
This method configures the spawned transaction object
Reimplemented in SecurePlayLibrary::SPTMultiPartSecretClass, SecurePlayLibrary::SPTMultiPartSimultaneousClass, SecurePlayLibrary::SPTMultistepTurnClass, SecurePlayLibrary::SPTSecretClass, SecurePlayLibrary::SPTSimultaneousClass, and SecurePlayLibrary::SPTStrobeClass. |
|
||||||||||||
|
This method notifies the Listeners of events
Reimplemented from SecurePlayLibrary::SPRootTransactionClass. |
|
|
This method returns a flag for whether the transaction is currently in the "complete" state.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
This method returns a flag for whether the status of the transaction is in error or not.
|
|
|
This is the api verion of this class |
|
|
This property holds the configuration of the Transaction Instance. |
|
|
GameBlock or code associated with this transaction |
|
|
This is the object handler for the Game Instance Object with which the transaction is associated. |
|
|
This is the PlayerID of the player that is the master of this transaction. The master of the transaction is the only entity that can start, configure, or end the transaction. |
|
|
This is a flag to describe whether the specific transaction is a virtual transaction to the non-participating Players. |
|
|
This is a string that describes the current state of the transaction. The common states are "new" - a newly created transaction, "configured" - a custom configured transaction, "ready" - a transaction ready to be begun, "complete" - a successfully completed transaction, and "error" - a transaction that has failed for some reason. |
|
|
Type of Transaction |