|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.SecurePlay.SPAbstractTransactionAPIClass
com.SecurePlay.SPTSimultaneous.SPTSimultaneousAPIClass
API version of SPSimultaneusClass
![]() |
![]() |
| Field Summary |
| Fields inherited from class com.SecurePlay.SPAbstractTransactionAPIClass |
transactioninstance |
| Constructor Summary | |
SPTSimultaneousAPIClass(SPTSimultaneousClass 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,
SPTSimultaneousClass 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 SPTSimultaneousAPIClass(SPTSimultaneousClass simultinstance)
simultinstance - SPSimultaneousClass - the transaction from which the API will build from| 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,
SPTSimultaneousClass transobj)
pid - String - player id of the master of the transactionsender - String - player id of the senderbody - String - body of the transactiontransobj - SPSimultaneousClass - the transaction object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||