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::SPTSynchronizedRandomClass Class Reference
#include <SPTSynchronizedRandomClass.h>
Inheritance diagram for SecurePlayLibrary::SPTSynchronizedRandomClass:
List of all members.
|
Public Member Functions |
| | SPTSynchronizedRandomClass () |
| | SPTSynchronizedRandomClass (SPGameInterface gameobj, string master, vector< string > playerIDList, bool privateflag, string transactionID, string AGE, int dsize, int ecount, bool replace) |
| bool | APIsendHiddenSecret (string sender, bool manflag) |
| bool | APIsendHiddenSecret (string sender, bool manflag, vector< string > newsecret) |
| int[] | APIgetRandom () |
| string | APIgetTransactionType () |
| SPAbstractTransactionInterface | APIcreateTransaction (SPGameInterface gameapiobj, SPMessageClass message) |
| int | APIgetEventCount () |
| int | APIgetRandomRange () |
| bool | APIgetReplacement () |
Static Public Member Functions |
| bool | registerTransaction () |
| string | gettranstype () |
| SPAbstractTransactionInterface | createSynchronizedRandom (SPGameInterface gameobj, string master, vector< string > playerIDList, bool privateflag, string AGE, int dsize, int ecount, bool replace) |
| SPAbstractTransactionInterface | createMultiPartSimultaneous (SPGameInterface gameobj, string master, vector< string > playerIDList, bool privateflag, string transactionID, string AGE, vector< string > configarr) |
Detailed Description
This class is an extension of the SPTMultiPartSimultaneous Class to create random events over a network without a full random transaction. - Author:
- IT GlobalSecure Inc.
- See also:
- SecurePlay License Information
Constructor & Destructor Documentation
| SPTSynchronizedRandomClass::SPTSynchronizedRandomClass |
( |
|
) |
|
|
| SPTSynchronizedRandomClass::SPTSynchronizedRandomClass |
( |
SPGameInterface |
gameobj, |
|
|
string |
master, |
|
|
vector< string > |
playerIDList, |
|
|
bool |
privateflag, |
|
|
string |
transactionID, |
|
|
string |
AGE, |
|
|
int |
dsize, |
|
|
int |
ecount, |
|
|
bool |
replace |
|
) |
|
|
|
|
Specific Constructor. - Parameters:
-
| gameobj | |
| master | |
| playerIDList | |
| privateflag | |
| transactionID | |
| AGE | |
| dsize | |
| ecount | |
| replace | |
|
Member Function Documentation
| int SPTSynchronizedRandomClass::APIgetEventCount |
( |
|
) |
|
|
| int[] SPTSynchronizedRandomClass::APIgetRandom |
( |
|
) |
|
|
|
|
This method returns the combined random number from the transaction participants - Returns:
- int[] result - combined random value
|
| int SPTSynchronizedRandomClass::APIgetRandomRange |
( |
|
) |
|
|
| bool SPTSynchronizedRandomClass::APIgetReplacement |
( |
|
) |
|
|
| string SPTSynchronizedRandomClass::APIgetTransactionType |
( |
|
) |
[virtual] |
|
| bool SPTSynchronizedRandomClass::APIsendHiddenSecret |
( |
string |
sender, |
|
|
bool |
manflag, |
|
|
vector< string > |
newsecret |
|
) |
|
|
| bool SPTSynchronizedRandomClass::APIsendHiddenSecret |
( |
string |
sender, |
|
|
bool |
manflag |
|
) |
|
|
|
|
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 |
| manflag | - boolean - manual resolve flag. |
- Returns:
- result - Boolean: TRUE, if successful, FALSE, if not
|
| SPAbstractTransactionInterface SPTSynchronizedRandomClass::createMultiPartSimultaneous |
( |
SPGameInterface |
gameobj, |
|
|
string |
master, |
|
|
vector< string > |
playerIDList, |
|
|
bool |
privateflag, |
|
|
string |
transactionID, |
|
|
string |
AGE, |
|
|
vector< string > |
configarr |
|
) |
[static] |
|
|
|
OVERRIDE - OVERRIDE - OVERRIDE - OVERRIDE - OVERRIDE This method creates a SPTSimultaneousClass transaction. - Parameters:
-
| gameobj | |
| master | |
| playerIDList | |
| privateflag | |
| transactionID | |
| AGE | |
| configarr | |
- Returns:
- SPAbstractTransactionInterface - returns null OVERRIDE.
|
| SPAbstractTransactionInterface SPTSynchronizedRandomClass::createSynchronizedRandom |
( |
SPGameInterface |
gameobj, |
|
|
string |
master, |
|
|
vector< string > |
playerIDList, |
|
|
bool |
privateflag, |
|
|
string |
AGE, |
|
|
int |
dsize, |
|
|
int |
ecount, |
|
|
bool |
replace |
|
) |
[static] |
|
| string SPTSynchronizedRandomClass::gettranstype |
( |
|
) |
[static] |
|
| bool SPTSynchronizedRandomClass::registerTransaction |
( |
|
) |
[static] |
|
The documentation for this class was generated from the following files:
- D:/SecurePlayLibrary/060216_SecurePlayLibrary_3_1_baseline/CPP/src/SPTSynchronizedRandomClass.h
- D:/SecurePlayLibrary/060216_SecurePlayLibrary_3_1_baseline/CPP/src/SPTSynchronizedRandomClass.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.