|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.SecurePlay.SPRootTransactionClass
com.SecurePlay.SPAbstractTransactionClass
com.SecurePlay.SPTBlastClass
This class is a single step transaction that includes all members of a specific game.
![]() |
![]() |
![]() |
![]() |
| Field Summary |
| Fields inherited from class com.SecurePlay.SPAbstractTransactionClass |
classAPI, configuration, gameblock, gameinstance, transactionstatus, transtype |
| Fields inherited from class com.SecurePlay.SPRootTransactionClass |
EventListenerList, gameID, master, playerIDList, transactionID |
| Constructor Summary | |
SPTBlastClass()
Default Constructor. |
|
SPTBlastClass(SPGameInterface gameobj,
java.lang.String master,
boolean privateflag,
java.lang.String[] transinfo,
java.lang.String transactionID)
Overloaded Constructor |
|
| Method Summary | |
boolean |
APIBcreateSingleStepTransaction(SPGameAPIInterface gameapiobj,
java.lang.String master,
java.lang.String[] transcontent)
This method creates a SPSingleStepTransactionClass. |
boolean |
APIbeginTransaction(java.lang.String pid)
This method is not supported because this is a single step transaction |
boolean |
APIcompleteTransaction(java.lang.String pid)
This method is not supported because this is a single step transaction |
boolean |
APIconfigureTransaction(java.lang.String pid,
java.lang.String[] args)
This method is not supported because this is a single step transaction |
static SPTBlastClass |
APIcreateClass()
This is a static default constructor that returns the SPStrobeClass instance. |
SPTBlastClass |
APIcreateSingleStepTransaction(SPGameAPIInterface gameapiobj,
java.lang.String master,
java.lang.String[] transcontent)
This method creates a SPSingleStepTransactionClass. |
java.lang.String[] |
APIgetTransactionContent()
This method returns the contents of the Single Step Transaction |
boolean |
APIrequestbeginTransaction(java.lang.String pid)
This method is not supported because this is a single step transaction |
boolean |
APIrequestCompleteTransaction(java.lang.String pid)
This method is not supported because this is a single step transaction |
boolean |
APIrequestconfigureTransaction(java.lang.String pid,
java.lang.String[] args)
This method is not supported because this is a single step transaction |
SPTBlastAPIClass |
APITOAcreateSingleStepTransaction(SPGameAPIInterface gameapiobj,
java.lang.String master,
java.lang.String[] transcontent)
This method creates a SPSingleStepTransactionAPIClass. |
static SPAbstractTransactionInterface |
createTransaction(SPGameAPIInterface gameapiobj,
java.lang.String master,
boolean privateflag,
java.lang.String[] transinfo,
java.lang.String transactionID)
This method creates a SPTBlast transaction. |
SPTBlastAPIClass |
getAPI()
This method gets the API of this class |
java.lang.String[] |
getTranscontent()
Getter function that returns the property: transcontent |
static java.lang.String |
gettranstype()
This method gets the transaction type. |
boolean |
onbeginTransaction(SPMessageClass incoming)
This method is not supported because this is a single step transaction |
boolean |
oncompleteTransaction(SPMessageClass incoming)
This method is not supported because this is a single step transaction |
protected boolean |
onconfigureTransaction(SPMessageClass incoming)
This method is not supported because this is a single step transaction |
boolean |
onincomingTransaction(SPMessageClass incoming)
This method is not supported because this is a single step transaction |
void |
onrequestbeginTransaction(SPMessageClass incoming)
This method is not supported because this is a single step transaction |
void |
onrequestcompleteTransaction(SPMessageClass incoming)
This method is not supported because this is a single step transaction |
void |
onrequestconfigureTransaction(SPMessageClass incoming)
This method is not supported because this is a single step transaction |
SPTBlastAPIClass |
SPgetAPI()
Gets this class's API |
| Methods inherited from class com.SecurePlay.SPRootTransactionClass |
APIAddListener, APIClearListeners, APIGetListenerCount, APIGetListeners, APIRemoveListener, getGameID, getMaster, getPlayerIDList, getTransactionID, isPlayerIncluded, SPnotify |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.SecurePlay.SPAbstractTransactionInterface |
getGameID, getMaster, getPlayerIDList, getTransactionID |
| Constructor Detail |
public SPTBlastClass()
public SPTBlastClass(SPGameInterface gameobj,
java.lang.String master,
boolean privateflag,
java.lang.String[] transinfo,
java.lang.String transactionID)
gameobj - SPGameInterface - the game object associated with this transactionmaster - String - master of this transactiontransinfo - String[] - transaction infoprivateflag - boolean - priavate flagtransactionID - String - transaction id| Method Detail |
public java.lang.String[] APIgetTransactionContent()
public boolean APIbeginTransaction(java.lang.String pid)
APIbeginTransaction in class SPAbstractTransactionClasspid - String - id of the transaction beginner, must be the master and internal.
public boolean APIcompleteTransaction(java.lang.String pid)
APIcompleteTransaction in class SPAbstractTransactionClasspid - String - id of the player who is completing the transaction, must be the master and internal.
public boolean APIrequestCompleteTransaction(java.lang.String pid)
APIrequestCompleteTransaction in class SPAbstractTransactionClasspid - String - id of the requestor, can not be the master, must be internal.
public boolean APIconfigureTransaction(java.lang.String pid,
java.lang.String[] args)
APIconfigureTransaction in class SPAbstractTransactionClasspid - String - id of the configurer, must be internal.args - String[] - the configuration array, with configuration details inside.
public boolean APIrequestconfigureTransaction(java.lang.String pid,
java.lang.String[] args)
APIrequestconfigureTransaction in class SPAbstractTransactionClasspid - String - the configure requestor, can not be the master, must be internal.args - String[] - the configuration array, with configuration details.
public boolean APIrequestbeginTransaction(java.lang.String pid)
APIrequestbeginTransaction in class SPAbstractTransactionClasspid - String - the id of the requestor, can not be master, must be internal
protected boolean onconfigureTransaction(SPMessageClass incoming)
onconfigureTransaction in class SPAbstractTransactionClassincoming - SPMessageClass - incomng message
public boolean onbeginTransaction(SPMessageClass incoming)
public boolean oncompleteTransaction(SPMessageClass incoming)
public boolean onincomingTransaction(SPMessageClass incoming)
onincomingTransaction in interface SPAbstractTransactionInterfaceonincomingTransaction in class SPAbstractTransactionClasspublic void onrequestcompleteTransaction(SPMessageClass incoming)
onrequestcompleteTransaction in class SPAbstractTransactionClassincoming - SPMessageClass - incomng messagepublic void onrequestconfigureTransaction(SPMessageClass incoming)
onrequestconfigureTransaction in class SPAbstractTransactionClassincoming - SPMessageClass - incomng messagepublic void onrequestbeginTransaction(SPMessageClass incoming)
onrequestbeginTransaction in class SPAbstractTransactionClassincoming - SPMessageClass - incomng messagepublic SPTBlastAPIClass getAPI()
public SPTBlastAPIClass SPgetAPI()
public java.lang.String[] getTranscontent()
public SPTBlastClass APIcreateSingleStepTransaction(SPGameAPIInterface gameapiobj,
java.lang.String master,
java.lang.String[] transcontent)
gameapiobj - master - transcontent -
public boolean APIBcreateSingleStepTransaction(SPGameAPIInterface gameapiobj,
java.lang.String master,
java.lang.String[] transcontent)
gameapiobj - master - transcontent -
public SPTBlastAPIClass APITOAcreateSingleStepTransaction(SPGameAPIInterface gameapiobj,
java.lang.String master,
java.lang.String[] transcontent)
gameapiobj - master - transcontent -
public static java.lang.String gettranstype()
public static SPTBlastClass APIcreateClass()
public static SPAbstractTransactionInterface createTransaction(SPGameAPIInterface gameapiobj,
java.lang.String master,
boolean privateflag,
java.lang.String[] transinfo,
java.lang.String transactionID)
gameapiobj - SPGameAPIInterface - the game that will be associated with this transaction.master - String - player id of the master of the transactionprivateflag - boolean - This is a flag to describe whether the specific transaction is a private transaction to the non-participating Players.transinfo - String[] - transaction info.transactionID - String - transaction id.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||