|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.SecurePlay.SPAbstractTransactionAPIClass
com.SecurePlay.SPTStrobe.SPTStrobeAPIClass
The Strobe Class is used to provide securely synchronized game play. This is essentially a combination of the Multipart transaction and the Simultaneous transaction. Each participant sends a simultaneous message to the others. Once all sent, then a “tick” or event has occurred. Then another message can be sent and the first message read.
![]() |
![]() |
| Field Summary |
| Fields inherited from class com.SecurePlay.SPAbstractTransactionAPIClass |
transactioninstance |
| Constructor Summary | |
SPTStrobeAPIClass(SPTStrobeClass 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 STROBE step 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 |
APIverifyStrobeStep()
This method verifies whether the just completed STROBE step is valid. |
boolean |
rulesStrobesendHiddenSecret(java.lang.String pid,
java.lang.String sender,
java.lang.String[] body,
SPTStrobeClass 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 SPTStrobeAPIClass(SPTStrobeClass simultinstance)
simultinstance - - SPStrobeClass - the abstract version of the class with which this API will be associated with| 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 APIverifyStrobeStep()
public boolean rulesStrobesendHiddenSecret(java.lang.String pid,
java.lang.String sender,
java.lang.String[] body,
SPTStrobeClass 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 | |||||||||