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::SPTnewGameClass Class Reference

#include <SPTnewGameClass.h>

Inheritance diagram for SecurePlayLibrary::SPTnewGameClass:

SecurePlayLibrary::SPTBurstClass SecurePlayLibrary::SPAbstractTransactionClass SecurePlayLibrary::SPRootTransactionClass SecurePlayLibrary::SPAbstractTransactionInterface List of all members.

Public Member Functions

 SPTnewGameClass ()
 SPTnewGameClass (SPGameInterface *gameobj, string master, bool pflag, string transactionID, vector< string > pidlist, string AGE, string nGameType, string nGID, string nMaster, vector< string > nPlayers, bool nsigpol, bool nencpol, string nSecManType)
string APIgetNewGameType ()
string APIgetNewGID ()
string APIgetNewMaster ()
vector< string > APIgetNewPlayers ()
string APIgetNewSecurityManagerType ()
bool APIgetNewSignaturePolicy ()
bool APIgetNewEncryptPolicy ()
SPAbstractTransactionInterfaceAPIcreateTransaction (SPGameInterface *gameapiobj, SPMessageClass *message)
string APIgetTransactionType ()

Static Public Member Functions

string gettranstype ()
bool registerTransaction ()
SPAbstractTransactionInterfacecreateNewGame (SPGameInterface *gameobj, string master, vector< string > playerIDList, bool privateflag, string AGE, string nGameType, string nGID, string nMaster, vector< string > nPlayers, bool nsigpol, bool nencpol, string nSecManType)
SPAbstractTransactionInterfacecreateBurst (SPGameInterface *gameobj, string master, vector< string > transinfo, string transactionID, string AGE, vector< string > configarr)

Detailed Description

Author:
IT GlobalSecure Inc.
See also:
SecurePlay License Information


Constructor & Destructor Documentation

SPTnewGameClass::SPTnewGameClass  ) 
 

Default Constructor

SPTnewGameClass::SPTnewGameClass SPGameInterface gameobj,
string  master,
bool  pflag,
string  transactionID,
vector< string >  pidlist,
string  AGE,
string  nGameType,
string  nGID,
string  nMaster,
vector< string >  nPlayers,
bool  nsigpol,
bool  nencpol,
string  nSecManType
 

Specific Constructor.

Parameters:
gameobj SPGameInterface - the game that is associated with this transaction.
master String - master of this transaction
pflag boolean - WILL be ignored. Since this transaction is designed to begin a game it has to send the begin message to every participant of the game. The prarameter only exists here for inheritance reasons.
transactionID String - transaction id of this transaction.
pidlist String[] - players involved in this transaction
AGE String - set AGE
nGameType 
nGID 
nMaster 
nPlayers 
nsigpol 
nencpol 
nSecManType 


Member Function Documentation

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

Creates a new instance of an SPTBeginGame.

Parameters:
gameapiobj SPGameInterface - game associated with this transaction.
message SPMessageClass - message that has all the transaction configure info
Returns:
SPAbstractTransactionInterface

Reimplemented from SecurePlayLibrary::SPTBurstClass.

bool SPTnewGameClass::APIgetNewEncryptPolicy  ) 
 

string SPTnewGameClass::APIgetNewGameType  ) 
 

string SPTnewGameClass::APIgetNewGID  ) 
 

string SPTnewGameClass::APIgetNewMaster  ) 
 

vector< string > SPTnewGameClass::APIgetNewPlayers  ) 
 

string SPTnewGameClass::APIgetNewSecurityManagerType  ) 
 

bool SPTnewGameClass::APIgetNewSignaturePolicy  ) 
 

string SPTnewGameClass::APIgetTransactionType  )  [virtual]
 

This method returns a String of the transactiontype.

Returns:
this.transtype - String - name of transaction type

Reimplemented from SecurePlayLibrary::SPTBurstClass.

SPAbstractTransactionInterface * SPTnewGameClass::createBurst SPGameInterface gameobj,
string  master,
vector< string >  transinfo,
string  transactionID,
string  AGE,
vector< string >  configarr
[static]
 

OVERRIDE - OVERRIDE - OVERRIDE - OVERRIDE - OVERRIDE This method creates a SPTBurstClass transaction.

Parameters:
gameobj 
master 
transinfo 
transactionID 
AGE 
configarr 
Returns:
returns null

SPAbstractTransactionInterface * SPTnewGameClass::createNewGame SPGameInterface gameobj,
string  master,
vector< string >  playerIDList,
bool  privateflag,
string  AGE,
string  nGameType,
string  nGID,
string  nMaster,
vector< string >  nPlayers,
bool  nsigpol,
bool  nencpol,
string  nSecManType
[static]
 

This creates the new newGameClass transaction

Parameters:
gameobj 
master 
playerIDList 
privateflag 
AGE 
nGameType 
nGID 
nMaster 
nPlayers 
nsigpol 
nencpol 
nSecManType 
Returns:
SPAbstractTransactionInterface - returns a SPTnewGameClass

string SPTnewGameClass::gettranstype  )  [static]
 

This method gets the transaction type.

Returns:
String

Reimplemented from SecurePlayLibrary::SPTBurstClass.

bool SPTnewGameClass::registerTransaction  )  [static]
 

Registers this transaction.

Returns:
boolean

Reimplemented from SecurePlayLibrary::SPTBurstClass.


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.