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

Public Member Functions | |
| virtual | ~SPAbstractTransactionAPIInterface () |
| virtual bool | APIbeginTransaction (string pid)=0 |
| virtual bool | APIcompleteTransaction (string pid)=0 |
| virtual bool | APIconfigureTransaction (string pid, vector< string > args)=0 |
| virtual bool | APIrequestbeginTransaction (string pid)=0 |
| virtual bool | APIrequestCompleteTransaction (string pid)=0 |
| virtual bool | APIrequestconfigureTransaction (string pid, vector< string > args)=0 |
| virtual bool | rulesbeginTransaction (string pid, SPAbstractTransactionInterface *transobj)=0 |
| virtual bool | rulescompleteTransaction (string pid, SPAbstractTransactionInterface *transobj)=0 |
| virtual bool | rulesconfigureTransaction (string pid, vector< string > configarr, SPAbstractTransactionInterface *transobj)=0 |
| virtual bool | APIAddListener (SPEventInterface *gameobj)=0 |
| virtual bool | APIRemoveListener (SPEventInterface *gameobj)=0 |
| virtual vector< SPEventInterface * > | APIGetListeners ()=0 |
| virtual bool | APIClearListeners ()=0 |
| virtual int | APIGetListenerCount ()=0 |
| virtual string | APISPawn (string pid)=0 |
| virtual SPAbstractTransactionInterface * | getTransactioninstance ()=0 |
|
|
Virtual Destructor. |
|
|
This method adds a listener object for Game API events
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass. |
|
|
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.
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass, and SecurePlayLibrary::SPTBlastAPIClass. |
|
|
This method clears the listener objects for Game API events
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass. |
|
|
This method allows the Transaction Master ONLY to complete the transaction. Transactions that are in an error state cannot be cleared by completion.
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass, SecurePlayLibrary::SPTBlastAPIClass, and SecurePlayLibrary::SPTRandomAPIClass. |
|
||||||||||||
|
This method allows the Transaction Master ONLY to configure the transactions unique parameters. NOTE, this method will be overridden for individual transaction types.
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass, SecurePlayLibrary::SPTBlastAPIClass, and SecurePlayLibrary::SPTRandomAPIClass. |
|
|
This method returns the number of listener objects for Game API events
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass. |
|
|
This method returns a list of listener objects for Game API events
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass. |
|
|
This method removes a listener object for Game API events
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass. |
|
|
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.
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass, and SecurePlayLibrary::SPTBlastAPIClass. |
|
|
This method allows any player, excluding the Transaction master to request that the transactoin be completed.
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass, and SecurePlayLibrary::SPTBlastAPIClass. |
|
||||||||||||
|
This method allows any player, excluding the Transaction master, to request that the transaction be configured as described in the configuration array.
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass, and SecurePlayLibrary::SPTBlastAPIClass. |
|
|
This method creates a new transaction with the identical participants and configuration as the spawning transaction.
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass. |
|
|
Getter function that gets the transaction instance
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass. |
|
||||||||||||
|
This shell method determines if an existing transaction object can be "begun" from a remote request.
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass. |
|
||||||||||||
|
This shell method handles remote requests to complete an existing transaction. Only the transaction master can actually complete the transaction.
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass. |
|
||||||||||||||||
|
This shell method supports remote requests to configure an existing transaction. Only the transaction master can actually configure the transaction.
Implemented in SecurePlayLibrary::SPAbstractTransactionAPIClass, and SecurePlayLibrary::SPTRandomAPIClass. |