|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.SecurePlay.SPAbstractTransactionAPIClass
com.SecurePlay.SPTMultiPartSimultaneous.SPTMultiPartSimultaneousAPIClass
This method is an extension of the SPSimultaneousAPI Class to handle multi-part (String Array) simultaneous events
![]() |
![]() |
| Field Summary |
| Fields inherited from class com.SecurePlay.SPAbstractTransactionAPIClass |
transactioninstance |
| Constructor Summary | |
SPTMultiPartSimultaneousAPIClass(SPTMultiPartSimultaneousClass simultinstance)
Overloaded Constructor |
|
| Method Summary | |
java.lang.String[] |
APIgetSecret(java.lang.String sender)
This method returns the actual secret for the specified player that this transaction is protecting, if available. |
boolean |
APIrequestsendHiddenSecret(java.lang.String pid,
java.lang.String sender,
java.lang.String[] newsecret)
This method allows any party to request the specified transaction participant send a Secret to support the simultaneous transaction. |
boolean |
APIsendHiddenSecret(java.lang.String sender,
java.lang.String[] newsecret)
This method allows the specified transaction participant to send the transform of a secret to the other participants in the Simultaneous transaction. |
boolean |
APIverifySimultaneous()
This method verifies whether a Simultaneous transaction was carried out successfully and responds with a simple Boolean. |
boolean |
rulesSimultaneoussendHiddenSecret(java.lang.String pid,
java.lang.String sender,
java.lang.String[] body,
SPTMultiPartSimultaneousClass transobj)
This shell method handles requests to create sendHiddenSecret messages for simultaneous transactions. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SPTMultiPartSimultaneousAPIClass(SPTMultiPartSimultaneousClass simultinstance)
simultinstance - SPMultiPartSimultaneousClass - the class to be associated with this this API| Method Detail |
public java.lang.String[] APIgetSecret(java.lang.String sender)
sender - String - sender of the secret
public boolean APIrequestsendHiddenSecret(java.lang.String pid,
java.lang.String sender,
java.lang.String[] newsecret)
pid - String - player id, or the master of the transactionsender - String - sender, or the requestor, can not be masternewsecret - String[] - the secret
public boolean APIsendHiddenSecret(java.lang.String sender,
java.lang.String[] newsecret)
sender - String - sender of the secretnewsecret - String[] - the secret
public boolean APIverifySimultaneous()
public boolean rulesSimultaneoussendHiddenSecret(java.lang.String pid,
java.lang.String sender,
java.lang.String[] body,
SPTMultiPartSimultaneousClass transobj)
pid - String - player id, or the master of the transactionsender - String - sender, or the requestor, can not be masterbody - Strin[] - body of the secrettransobj - SPMultiPartSimultaneousClass - transaction object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||