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.
Main Page | Class Hierarchy | Class List | Class Members

SecurePlayLibrary::SPTActClass Class Reference

#include <SPTActClass.h>

Inheritance diagram for SecurePlayLibrary::SPTActClass:

SecurePlayLibrary::SPTStrobeClass SecurePlayLibrary::SPAbstractTransactionClass SecurePlayLibrary::SPRootTransactionClass SecurePlayLibrary::SPAbstractTransactionInterface 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 ()
SPAbstractTransactionInterfaceAPIcreateTransaction (SPGameInterface *gameapiobj, SPMessageClass *message)
string APIgetTransactionType ()

Static Public Member Functions

bool registerTransaction ()
string gettranstype ()
SPAbstractTransactionInterfacecreateAct (SPGameInterface *gameobj, string master, vector< string > playerIDList, bool privateflag, string AGE, int dsize, int ecount)
SPAbstractTransactionInterfacecreateStrobe (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  ) 
 

Default Constructor

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

SPAbstractTransactionInterface * SPTActClass::APIcreateTransaction SPGameInterface gameapiobj,
SPMessageClass message
[virtual]
 

Creates a new instance of an Abstract Transaction class.

Parameters:
gameapiobj SPGameInterface - game associated with this transaction.
message SPMessageClass - all the transaction configure information

Reimplemented from SecurePlayLibrary::SPTStrobeClass.

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.

SPAbstractTransactionInterface * SPTActClass::createAct SPGameInterface gameobj,
string  master,
vector< string >  playerIDList,
bool  privateflag,
string  AGE,
int  dsize,
int  ecount
[static]
 

This method creates a SPTActClass transaction.

Parameters:
gameobj 
master 
playerIDList 
privateflag 
AGE 
dsize 
ecount 
Returns:
SPAbstractTransactionInterface - returns created Act class

SPAbstractTransactionInterface * SPTActClass::createStrobe 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 SPTStrobeClass transaction.

Parameters:
gameobj 
master 
playerIDList 
privateflag 
transactionID 
AGE 
configarr 
Returns:
SPAbstractTransactionInterface - returns null

string SPTActClass::gettranstype  )  [static]
 

Reimplemented from SecurePlayLibrary::SPTStrobeClass.

bool SPTActClass::registerTransaction  )  [static]
 

Registers this transaction.

Returns:
boolean

Reimplemented from SecurePlayLibrary::SPTStrobeClass.


The documentation for this class was generated from the following files: 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.