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::SPTActClass Class Reference
#include <SPTActClass.h>
Inheritance diagram for SecurePlayLibrary::SPTActClass:
List of all members.
|
Public Member Functions |
| | SPTActClass () |
| | SPTActClass (SPGameInterface *gameobj, string master, vector< string > playerIDList, bool privateflag, string transactionID, string AGE, int dsize, int ecount) |
| bool | APIsendHiddenSecret (string sender, vector< string > newsecret) |
| vector< string > | APIgetSecret (string sender) |
| vector< int > | APIgetRandom () |
| SPAbstractTransactionInterface * | APIcreateTransaction (SPGameInterface *gameapiobj, SPMessageClass *message) |
| string | APIgetTransactionType () |
Static Public Member Functions |
| bool | registerTransaction () |
| string | gettranstype () |
| SPAbstractTransactionInterface * | createAct (SPGameInterface *gameobj, string master, vector< string > playerIDList, bool privateflag, string AGE, int dsize, int ecount) |
| SPAbstractTransactionInterface * | createStrobe (SPGameInterface *gameobj, string master, vector< string > playerIDList, bool privateflag, string transactionID, string AGE, vector< string > configarr) |
Detailed Description
The SPTActClass is an extension of the Stobe class with integrated inclusion of random events. - Author:
- IT GlobalSecure
- See also:
- SecurePlay License Information
Constructor & Destructor Documentation
| SPTActClass::SPTActClass |
( |
|
) |
|
|
| SPTActClass::SPTActClass |
( |
SPGameInterface * |
gameobj, |
|
|
string |
master, |
|
|
vector< string > |
playerIDList, |
|
|
bool |
privateflag, |
|
|
string |
transactionID, |
|
|
string |
AGE, |
|
|
int |
dsize, |
|
|
int |
ecount |
|
) |
|
|
|
|
- Parameters:
-
| gameobj | |
| master | |
| playerIDList | |
| privateflag | |
| transactionID | |
|
Member Function Documentation
| vector< int > SPTActClass::APIgetRandom |
( |
|
) |
|
|
|
|
This method returns the combined random number from the transaction participants - Returns:
- int[] result - combined random value
|
| vector< string > SPTActClass::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 from SecurePlayLibrary::SPTStrobeClass. |
| string SPTActClass::APIgetTransactionType |
( |
|
) |
[virtual] |
|
|
|
This method returns a String of the transactiontype. - Returns:
- this.transtype - String - name of transaction type
Reimplemented from SecurePlayLibrary::SPTStrobeClass. |
| bool SPTActClass::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 from SecurePlayLibrary::SPTStrobeClass. |
|
|
OVERRIDE - OVERRIDE - OVERRIDE - OVERRIDE - OVERRIDE This method creates a SPTStrobeClass transaction. - Parameters:
-
| gameobj | |
| master | |
| playerIDList | |
| privateflag | |
| transactionID | |
| AGE | |
| configarr | |
- Returns:
- SPAbstractTransactionInterface - returns null
|
| string SPTActClass::gettranstype |
( |
|
) |
[static] |
|
| bool SPTActClass::registerTransaction |
( |
|
) |
[static] |
|
The documentation for this class was generated from the following files:
- D:/SecurePlayLibrary/060216_SecurePlayLibrary_3_1_baseline/CPP/src/SPTActClass.h
- D:/SecurePlayLibrary/060216_SecurePlayLibrary_3_1_baseline/CPP/src/SPTActClass.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.