2006 Copyright Filed by IT GlobalSecure, Inc. All Rights Reserved. Not to be used without authorization by Author. SecurePlay, IT GlobalSecure, and IT Armor are registered trademarks by IT GlobalSecure, Inc. Software protected by software license, and one or more the following U.S. and International patent numbers: U.S. Patent 6,030,288, U.S. Patent 6,165,072, European Patent Office EP1016049A1,and World Intellectual Property Organization WO9912135C1 and additional filings worldwide.
SecurePlayLibrary::SPTStrobeClass Class Reference
#include <SPTStrobeClass.h>
Inheritance diagram for SecurePlayLibrary::SPTStrobeClass:
List of all members.
|
Public Member Functions |
| | SPTStrobeClass () |
| | SPTStrobeClass (SPGameInterface *gameobj, string master, vector< string > playerIDList, bool privateflag, string transactionID, string AGE, vector< string > configarr) |
| void | pruniqueinit () |
| bool | APIsendHiddenSecret (string sender, vector< string > newsecret) |
| bool | APIverifyStrobeStep () |
| vector< string > | APIgetSecret (string sender) |
| bool | pronincomingTransaction (SPMessageClass *incoming) |
| bool | isAactive () |
| int | getPrpadlength () |
| SPMap< string, vector< string > * > | getSecretA () |
| SPMap< string, vector< string > * > | getSecretB () |
| SPMap< string, string > | getSecrettransformA () |
| SPMap< string, string > | getSecrettransformB () |
| SPAbstractTransactionInterface * | APIcreateTransaction (SPGameInterface *gameapiobj, SPMessageClass *message) |
| string | APIgetTransactionType () |
Static Public Member Functions |
| string | gettranstype () |
| bool | registerTransaction () |
| SPAbstractTransactionInterface * | createStrobe (SPGameInterface *gameobj, string master, vector< string > playerIDList, bool privateflag, string AGE, vector< string > configarr) |
Detailed Description
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. - Author:
- IT GlobalSecure
- See also:
- SecurePlay License Information
Constructor & Destructor Documentation
| SPTStrobeClass::SPTStrobeClass |
( |
|
) |
|
|
| SPTStrobeClass::SPTStrobeClass |
( |
SPGameInterface * |
gameobj, |
|
|
string |
master, |
|
|
vector< string > |
playerIDList, |
|
|
bool |
privateflag, |
|
|
string |
transactionID, |
|
|
string |
AGE, |
|
|
vector< string > |
configarr |
|
) |
|
|
|
|
Overloaded Constructor - Parameters:
-
| gameobj | SPGameInterface - the game object with which the transaction is associated |
| master | String - the master of the transaction |
| playerIDList | String[] - player id list of players who are associated with the transaction |
| privateflag | boolean - private flag |
| transactionID | String - the transaction id |
|
Member Function Documentation
| vector< string > SPTStrobeClass::APIgetSecret |
( |
string |
sender |
) |
|
|
|
|
This method returns the actual secret for the specified player that this STROBE step is protecting, if available. - Parameters:
-
| sender | String - sender of the secret |
- Returns:
- secret - String - the secret
Reimplemented in SecurePlayLibrary::SPTActClass. |
| string SPTStrobeClass::APIgetTransactionType |
( |
|
) |
[virtual] |
|
| bool SPTStrobeClass::APIsendHiddenSecret |
( |
string |
sender, |
|
|
vector< string > |
newsecret |
|
) |
|
|
|
|
This method allows the specified transaction participant to send the transform of a secret to the other participants in the Simultaneous transaction. - Parameters:
-
| sender | String - sender of the secret |
| newsecret | String - the secret |
- Returns:
- result - Boolean: TRUE, if successful, FALSE, if not
Reimplemented in SecurePlayLibrary::SPTActClass. |
| bool SPTStrobeClass::APIverifyStrobeStep |
( |
|
) |
|
|
|
|
This method verifies whether the just completed STROBE step is valid. - Returns:
- result - Boolean: TRUE, if transaction verified, FALSE, if not.
|
| int SPTStrobeClass::getPrpadlength |
( |
|
) |
|
|
|
|
Getter function that returns the property: prpadlength - Returns:
- prpadlength - int
|
| SPMap< string, vector< string > * > SPTStrobeClass::getSecretA |
( |
|
) |
|
|
|
|
Getter function that returns the property: secretA - Returns:
- secretA - SPHashtable
|
| SPMap< string, vector< string > * > SPTStrobeClass::getSecretB |
( |
|
) |
|
|
|
|
Getter function that returns the property: secretB - Returns:
- secretB - SPHashtable
|
| SPMap< string, string > SPTStrobeClass::getSecrettransformA |
( |
|
) |
|
|
|
|
Getter function that returns the property: secrettransformA - Returns:
- secrettransformA - SPHashtable
|
| SPMap< string, string > SPTStrobeClass::getSecrettransformB |
( |
|
) |
|
|
|
|
Getter function that returns the property: secrettransformB - Returns:
- secrettransformB - SPHashtable
|
| string SPTStrobeClass::gettranstype |
( |
|
) |
[static] |
|
| bool SPTStrobeClass::isAactive |
( |
|
) |
|
|
|
|
Getter function that returns the property: Aactive - Returns:
- Aactive
|
| bool SPTStrobeClass::pronincomingTransaction |
( |
SPMessageClass * |
incoming |
) |
|
|
| void SPTStrobeClass::pruniqueinit |
( |
|
) |
|
|
| bool SPTStrobeClass::registerTransaction |
( |
|
) |
[static] |
|
The documentation for this class was generated from the following files:
- D:/SecurePlayLibrary/060216_SecurePlayLibrary_3_1_baseline/CPP/src/SPTStrobeClass.h
- D:/SecurePlayLibrary/060216_SecurePlayLibrary_3_1_baseline/CPP/src/SPTStrobeClass.cpp
2006 Copyright Filed by IT GlobalSecure, Inc. All Rights Reserved. Not to be used without authorization by Author. SecurePlay, IT GlobalSecure, and IT Armor are registered trademarks by IT GlobalSecure, Inc. Software protected by software license, and one or more the following U.S. and International patent numbers: U.S. Patent 6,030,288, U.S. Patent 6,165,072, European Patent Office EP1016049A1,and World Intellectual Property Organization WO9912135C1 and additional filings worldwide.