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

#include <SPTEndGame.h>

Inheritance diagram for SecurePlayLibrary::SPTEndGame:

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

Public Member Functions

 SPTEndGame ()
 SPTEndGame (SPGameInterface *gameobj, string master, string transactionID, string AGE, vector< string > config)
SPAbstractTransactionInterfaceAPIcreateTransaction (SPGameInterface *gameapiobj, SPMessageClass *message)
string APIgetTransactionType ()

Static Public Member Functions

string gettranstype ()
bool registerTransaction ()
SPAbstractTransactionInterfacecreateEndGame (SPGameInterface *gameobj, string master, string AGE, vector< string > configarr)
SPAbstractTransactionInterfacecreateBlast (SPGameInterface *gameobj, string master, vector< string > transinfo, string transactionID, string AGE, vector< string > configarr)

Detailed Description

This transaction is used to end a game if necessary. It is a single step transaction that sends a single endGame message.
Author:
IT GlobalSecure Inc.
See also:
SecurePlay License Information


Constructor & Destructor Documentation

SPTEndGame::SPTEndGame  ) 
 

Default Constructor

SPTEndGame::SPTEndGame SPGameInterface gameobj,
string  master,
string  transactionID,
string  AGE,
vector< string >  config
 

Specific Constructor.

Parameters:
gameobj SPGameInterface - the game that is associated with this transaction.
master String - master of this transaction
transactionID String - transaction id of this transaction.
AGE String - set AGE
config String[] - configure array of this transaction.


Member Function Documentation

SPAbstractTransactionInterface * SPTEndGame::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::SPTBlastClass.

string SPTEndGame::APIgetTransactionType  )  [virtual]
 

This method returns a String of the transactiontype.

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

Reimplemented from SecurePlayLibrary::SPTBlastClass.

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

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

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

SPAbstractTransactionInterface * SPTEndGame::createEndGame SPGameInterface gameobj,
string  master,
string  AGE,
vector< string >  configarr
[static]
 

This method creates a SPTEndGame transaction.

Parameters:
gameobj SPGameInterface - This is the instance of the game associated with this transaction.
master String - master of this transaction.
AGE 
configarr 
Returns:
SPAbstractTransactionInterface - returns EndGame class created

string SPTEndGame::gettranstype  )  [static]
 

This method gets the transaction type.

Returns:
String

Reimplemented from SecurePlayLibrary::SPTBlastClass.

bool SPTEndGame::registerTransaction  )  [static]
 

Registers this transaction.

Returns:
boolean

Reimplemented from SecurePlayLibrary::SPTBlastClass.


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.