2006 Copyright Filed by IT GlobalSecure, Inc. All Rights Reserved. Not to be used without authorization by Author. SecurePlay, IT GlobalSecure, and IT Armor are registered trademarks by IT GlobalSecure, Inc. Software protected by software license, and one or more the following U.S. and International patent numbers: U.S. Patent 6,030,288, U.S. Patent 6,165,072, European Patent Office EP1016049A1,and World Intellectual Property Organization WO9912135C1 and additional filings worldwide.
#include <SPAbstractTransactionClass.h>
Inheritance diagram for SecurePlayLibrary::SPAbstractTransactionClass:

Public Member Functions | |
| SPAbstractTransactionClass () | |
| SPAbstractTransactionClass (SPGameInterface *gameobj, string master, vector< string > playerIDList, bool privateflag, string transactionID, string AGE, vector< string > configarr) | |
| bool | APIcompleteTransaction (string pid) |
| void | onincomingTransaction (SPMessageClass *incoming) |
| bool | APIisTransError () |
| bool | APIisPlayerInternal (string pid) |
| void | logError () |
| bool | APIgetPrivacyFlag () |
| void | APIsetTransactionID (string tid) |
| string | APIgetAGE () |
| vector< string > | APIgetConfiguration () |
| SPGameInterface * | APIgetGameinstance () |
| string | APIgetTransactionstatus () |
| string | APIgetTransactionType () |
| SPAbstractTransactionInterface * | APIcreateTransaction (SPGameInterface *gameapiobj, SPMessageClass *message) |
| string | APIgetMaster () |
| string | APIgetTransactionID () |
| string | APIgetGameID () |
| vector< string > | APIgetPlayerIDList () |
| void | SPnotify (string eventdescription, vector< string > args, string sourceMethod, string sourceClass, string errorType) |
| void | sendMessage (string sender, vector< string > receivers, bool encryptflag, bool privateflag, string messagetype, vector< string > messagebody, vector< string > altmessage) |
Static Public Member Functions | |
| string | gettranstype () |
Protected Member Functions | |
| void | prinit (SPGameInterface *gameobj, string masterID, vector< string > plrIDList, bool prvtflag, string transID) |
| void | pruniqueinit () |
| bool | pronincomingTransaction (SPMessageClass *incoming) |
| bool | setAGE (string sourceID, string newgameblock) |
Protected Attributes | |
| SPGameInterface * | gameinstance |
| bool | privateflag |
| string | transactionstatus |
| vector< string > | configuration |
| string | AGE |
| string | transtype |
| const string | releaseversion |
Static Protected Attributes | |
| const string | mt_completeTransaction = "complete_s" |
| const string | mt_error = "error_s" |
| const string | status_ready = "ready" |
| const string | status_error = "error" |
|
|
Default Constructor. |
|
||||||||||||||||||||||||||||||||
|
Constructor.
|
|
|
This method allows the Transaction Master ONLY to complete the transaction. Transactions that are in an error state cannot be cleared by completion.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. Reimplemented in SecurePlayLibrary::SPTRandomClass. |
|
||||||||||||
|
Creates a new instance of an Abstract Transaction class.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. Reimplemented in SecurePlayLibrary::SPTActClass, SecurePlayLibrary::SPTBeginGame, SecurePlayLibrary::SPTBlastClass, SecurePlayLibrary::SPTBurstClass, SecurePlayLibrary::SPTEndGame, SecurePlayLibrary::SPTMultiPartSecretClass, SecurePlayLibrary::SPTMultiPartSimultaneousClass, SecurePlayLibrary::SPTMultistepTurnClass, SecurePlayLibrary::SPTnewAGEClass, SecurePlayLibrary::SPTnewGameClass, SecurePlayLibrary::SPTPlayerJoinClass, SecurePlayLibrary::SPTRandomClass, SecurePlayLibrary::SPTSecretClass, SecurePlayLibrary::SPTShipClass, SecurePlayLibrary::SPTSimultaneousClass, and SecurePlayLibrary::SPTStrobeClass. |
|
|
Gets the Abstract Game Engine (AGE) of this transaction.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
Getter function that returns the property: configuration
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
Gets the game id associated with the transaction.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
Getter function that returns the property: gameinstance
|
|
|
Gets the id of the master of the transaction.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
Gets the player ids associated with the transaction.
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. Reimplemented in SecurePlayLibrary::SPTActClass, SecurePlayLibrary::SPTBeginGame, SecurePlayLibrary::SPTBlastClass, SecurePlayLibrary::SPTBurstClass, SecurePlayLibrary::SPTEndGame, SecurePlayLibrary::SPTMultiPartSecretClass, SecurePlayLibrary::SPTMultiPartSimultaneousClass, SecurePlayLibrary::SPTMultistepTurnClass, SecurePlayLibrary::SPTnewAGEClass, SecurePlayLibrary::SPTnewGameClass, SecurePlayLibrary::SPTPlayerJoinClass, SecurePlayLibrary::SPTSecretClass, SecurePlayLibrary::SPTShipClass, SecurePlayLibrary::SPTSimultaneousClass, SecurePlayLibrary::SPTStrobeClass, and SecurePlayLibrary::SPTSynchronizedRandomClass. |
|
|
Checks to see if the playr is internal
|
|
|
This method returns a flag for whether the status of the transaction is in error or not.
|
|
|
Sets the transaction id to a specified id.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
|
|
This is a shell method for future use. |
|
|
This method handles the various incoming messages and passes them to the appropriate message type handler.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. Reimplemented in SecurePlayLibrary::SPTBlastClass. |
|
||||||||||||||||||||||||
|
Initializes the transaction.
|
|
|
this is a shell for unique incoming transactions
Reimplemented in SecurePlayLibrary::SPTMultiPartSecretClass, SecurePlayLibrary::SPTMultiPartSimultaneousClass, SecurePlayLibrary::SPTMultistepTurnClass, SecurePlayLibrary::SPTRandomClass, SecurePlayLibrary::SPTSecretClass, SecurePlayLibrary::SPTShipClass, 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 private messages, it sends an alternate message to the parties not recieving the main message.
Implements SecurePlayLibrary::SPAbstractTransactionInterface. |
|
||||||||||||
|
This method safely sets the abstract game engine of a transaction. NOTE: This can only be done by the Transaction master.
|
|
||||||||||||||||||||||||
|
This method notifies the Listeners of events
Reimplemented from SecurePlayLibrary::SPRootTransactionClass. |
|
|
Abstract Game Engine or code associated with this transaction |
|
|
This property holds the configuration of the Transaction Instance. |
|
|
This is the object handler for the Game Instance Object with which the transaction is associated. |
|
|
Static message types that this transaction supports. |
|
|
Static message types that this transaction supports. |
|
|
This is a flag to describe whether the specific transaction is a private transaction to the non-participating Players. |
|
|
IT GlobalSecure release version. Reimplemented from SecurePlayLibrary::SPRootTransactionClass. |
|
|
transaction status error variable |
|
|
transaction status ready variable |
|
|
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 |