Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SecurePlayLibrary::SPTBlastClass Class Reference

#include <SPTBlastClass.h>

Inheritance diagram for SecurePlayLibrary::SPTBlastClass:

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

Detailed Description

This class is a single step transaction that includes all members of a specific game.
Author:
IT GlobalSecure
See also:
SecurePlay License Information


Public Member Functions

 SPTBlastClass ()
 ~SPTBlastClass ()
 SPTBlastClass (SPGameInterface *gameobj, string master, bool privateflag, vector< string > transinfo, string transactionID)
void uniqueinit (vector< string > transinfo)
vector< string > APIgetTransactionContent ()
bool APIbeginTransaction (string pid)
bool APIcompleteTransaction (string pid)
bool APIrequestCompleteTransaction (string pid)
bool APIconfigureTransaction (string pid, vector< string > args)
bool APIrequestconfigureTransaction (string pid, vector< string > args)
bool APIrequestbeginTransaction (string pid)
bool onbeginTransaction (SPMessageClass *incoming)
bool oncompleteTransaction (SPMessageClass *incoming)
bool onincomingTransaction (SPMessageClass *incoming)
void onrequestcompleteTransaction (SPMessageClass *incoming)
void onrequestconfigureTransaction (SPMessageClass *incoming)
void onrequestbeginTransaction (SPMessageClass *incoming)
SPTBlastAPIClassgetAPI ()
SPTBlastAPIClassSPgetAPI ()
vector< string > getTranscontent ()
SPTBlastClassAPIcreateBlastClass (SPGameAPIInterface *gameapiobj, string master, vector< string > transcontent)
bool APIBcreateBlastClass (SPGameAPIInterface *gameapiobj, string master, vector< string > transcontent)
SPTBlastAPIClassAPITOAcreateBlastClass (SPGameAPIInterface *gameapiobj, string master, vector< string > transcontent)

Static Public Member Functions

string gettranstype ()
SPTBlastClassAPIcreateClass ()
SPAbstractTransactionInterfacecreateTransaction (SPGameAPIInterface *gameapiobj, string master, bool privateflag, vector< string > transinfo, string transactionID)

Protected Member Functions

bool onconfigureTransaction (SPMessageClass *incoming)

Private Attributes

vector< string > transcontent


Constructor & Destructor Documentation

SPTBlastClass::SPTBlastClass  ) 
 

Default Constructor.

SPTBlastClass::~SPTBlastClass  ) 
 

Default Destructor

SPTBlastClass::SPTBlastClass SPGameInterface gameobj,
string  master,
bool  privateflag,
vector< string >  transinfo,
string  transactionID
 

Overloaded Constructor

Parameters:
gameobj SPGameInterface - the game object associated with this transaction
master string - master of this transaction
transinfo vector<string> - transaction info
privateflag bool - priavate flag
transactionID string - transaction id


Member Function Documentation

bool SPTBlastClass::APIBcreateBlastClass SPGameAPIInterface gameapiobj,
string  master,
vector< string >  transcontent
 

This method creates a SPBlastClassClass.

Parameters:
gameapiobj 
master 
transcontent 
Returns:
boolean

bool SPTBlastClass::APIbeginTransaction string  pid  ) 
 

This method is not supported because this is a single step transaction

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

bool SPTBlastClass::APIcompleteTransaction string  pid  ) 
 

This method is not supported because this is a single step transaction

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

bool SPTBlastClass::APIconfigureTransaction string  pid,
vector< string >  args
 

This method is not supported because this is a single step transaction

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

SPTBlastClass * SPTBlastClass::APIcreateBlastClass SPGameAPIInterface gameapiobj,
string  master,
vector< string >  transcontent
 

This method creates a SPBlastClassClass.

Parameters:
gameapiobj 
master 
transcontent 
Returns:
SPBlastClassClass

SPTBlastClass * SPTBlastClass::APIcreateClass  )  [static]
 

This is a static default constructor that returns the SPStrobeClass instance. NOTE: it is used in registering transactions.

Returns:
SPStrobeClass

vector< string > SPTBlastClass::APIgetTransactionContent  ) 
 

This method returns the contents of the Single Step Transaction

Returns:
result - Strin[] - string array containing the transaction content

bool SPTBlastClass::APIrequestbeginTransaction string  pid  ) 
 

This method is not supported because this is a single step transaction

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

bool SPTBlastClass::APIrequestCompleteTransaction string  pid  ) 
 

This method is not supported because this is a single step transaction

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

bool SPTBlastClass::APIrequestconfigureTransaction string  pid,
vector< string >  args
 

This method is not supported because this is a single step transaction

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

SPTBlastAPIClass * SPTBlastClass::APITOAcreateBlastClass SPGameAPIInterface gameapiobj,
string  master,
vector< string >  transcontent
 

This method creates a SPBlastClassAPIClass.

Parameters:
gameapiobj 
master 
transcontent 
Returns:
SPBlastClassAPIClass

SPAbstractTransactionInterface * SPTBlastClass::createTransaction SPGameAPIInterface gameapiobj,
string  master,
bool  privateflag,
vector< string >  transinfo,
string  transactionID
[static]
 

This method creates a SPTBlast transaction.

Parameters:
gameapiobj SPGameAPIInterface - the game that will be associated with this transaction.
master string - player id of the master of the transaction
privateflag bool- This is a flag to describe whether the specific transaction is a private transaction to the non-participating Players.
transinfo vector<string> - transaction info.
transactionID string - transaction id.

SPTBlastAPIClass * SPTBlastClass::getAPI  ) 
 

This method gets the API of this class

Returns:
tranAPI SPBlastClassAPIClass - the API of this class NOTE: This method may be depreciated in future releases.

vector< string > SPTBlastClass::getTranscontent  ) 
 

Getter function that returns the property: transcontent

Returns:
transcontent - vector<string>

string SPTBlastClass::gettranstype  )  [static]
 

This method gets the transaction type.

Returns:
string

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

bool SPTBlastClass::onbeginTransaction SPMessageClass incoming  ) 
 

This method is not supported because this is a single step transaction

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

bool SPTBlastClass::oncompleteTransaction SPMessageClass incoming  ) 
 

This method is not supported because this is a single step transaction

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

bool SPTBlastClass::onconfigureTransaction SPMessageClass incoming  )  [protected]
 

This method is not supported because this is a single step transaction

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

bool SPTBlastClass::onincomingTransaction SPMessageClass incoming  )  [virtual]
 

This method is not supported because this is a single step transaction

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

void SPTBlastClass::onrequestbeginTransaction SPMessageClass incoming  ) 
 

This method is not supported because this is a single step transaction

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

void SPTBlastClass::onrequestcompleteTransaction SPMessageClass incoming  ) 
 

This method is not supported because this is a single step transaction

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

void SPTBlastClass::onrequestconfigureTransaction SPMessageClass incoming  ) 
 

This method is not supported because this is a single step transaction

Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass.

SPTBlastAPIClass * SPTBlastClass::SPgetAPI  ) 
 

Gets this class's API

Returns:
classAPI - SPBlastClassAPIClass

void SPTBlastClass::uniqueinit vector< string >  transinfo  ) 
 

Unique Initializer of this class

Parameters:
transinfo vector<string> - transaction information


Member Data Documentation

vector<string> SecurePlayLibrary::SPTBlastClass::transcontent [private]
 

This holds the content of the single step transaction


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.