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

Public Member Functions | |
| virtual | ~SPAbstractTransactionInterface () |
| virtual bool | onincomingTransaction (SPMessageClass *incoming)=0 |
| virtual string | getMaster ()=0 |
| virtual string | getTransactionID ()=0 |
| virtual SPAbstractTransactionAPIInterface * | getClassAPI ()=0 |
| virtual string | getGameID ()=0 |
| virtual vector< string > | getPlayerIDList ()=0 |
| virtual bool | getPrivacyFlag ()=0 |
| virtual bool | transComplete ()=0 |
| virtual void | setTransactionID (string tid)=0 |
| virtual bool | sendMessage (string sender, vector< string > receivers, bool encryptflag, bool privateflag, string messagetype, vector< string > messagebody, vector< string > altmessage)=0 |
| virtual bool | isPrivateflag ()=0 |
| virtual string | getTransactionstatus ()=0 |
| virtual vector< string > | getConfiguration ()=0 |
| virtual string | APIgetGameBlock ()=0 |
| virtual bool | APIsetGameBlock (string pid, string newgameblock)=0 |
| virtual string | getTransactionType ()=0 |
| virtual SPAbstractTransactionInterface * | createTransaction (SPGameAPIInterface *gameapiobj, string master, vector< string > playerIDList, bool privateflag, string transactionID)=0 |
|
|
Virtual Destructor. |
|
|
Gets the gameblock of this transaction.
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
||||||||||||
|
This method allows the Transaction Master ONLY to set the game block.
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
||||||||||||||||||||||||
|
This method creates a transaction. It is overriden in each individual transaction and it will return the individual transaction
Implemented in SecurePlayLibrary::SPAbstractTransactionClass, SecurePlayLibrary::SPTMultiPartSecretClass, SecurePlayLibrary::SPTMultiPartSimultaneousClass, SecurePlayLibrary::SPTMultistepTurnClass, SecurePlayLibrary::SPTRandomClass, SecurePlayLibrary::SPTSecretClass, SecurePlayLibrary::SPTSimultaneousClass, and SecurePlayLibrary::SPTStrobeClass. |
|
|
Gets this class's API
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Getter function that returns the property: configuration
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Gets the game id associated with the transaction.
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Gets the id of the master of the transaction.
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Gets the player ids associated with the transaction.
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Gets the privacy flag of this class.
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Gets the transaction id.
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Getter function that returns the property: transactionstatus
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
This method returns a string of the transactiontype.
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Getter function that returns the property: privateflag
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
This method handles the various incoming messages and passes them to the appropriate message type handler.
Implemented in SecurePlayLibrary::SPAbstractTransactionClass, and SecurePlayLibrary::SPTBlastClass. |
|
||||||||||||||||||||||||||||||||
|
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.
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Sets the transaction id to a specified id.
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
This method returns a flag for whether the transaction is currently in the "complete" state.
Implemented in SecurePlayLibrary::SPAbstractTransactionClass. |