SecurePlayLibray J2SE
v2.1

com.SecurePlay
Class SPTBlastClass

java.lang.Object
  extended bycom.SecurePlay.SPRootTransactionClass
      extended bycom.SecurePlay.SPAbstractTransactionClass
          extended bycom.SecurePlay.SPTBlastClass
All Implemented Interfaces:
SPAbstractTransactionInterface
Direct Known Subclasses:
SPTBeginGame, SPTEndGame, SPTnewAGEClass

public class SPTBlastClass
extends SPAbstractTransactionClass

This class is a single step transaction that includes all members of a specific game.

Author:
IT GlobalSecure
See Also:
SecurePlay License Information
 

Field Summary
 
Fields inherited from class com.SecurePlay.SPAbstractTransactionClass
AGE, configuration, gameinstance, mt_completeTransaction, mt_error, privateflag, releaseversion, status_error, status_ready, transactionstatus, transtype
 
Fields inherited from class com.SecurePlay.SPRootTransactionClass
comms, EventListenerList, gameID, insend, master, playerIDList, ReSend_altmessage, ReSend_encryptflag, ReSend_messagebody, ReSend_messageID, ReSend_messagetype, ReSend_privateflag, ReSend_receivers, ReSend_sender, secureplay, transactionID
 
Constructor Summary
SPTBlastClass()
          Default Constructor.
SPTBlastClass(SPGameInterface gameobj, java.lang.String master, java.lang.String transactionID, java.lang.String AGE, java.lang.String[] transinfo)
          Overloaded Constructor
 
Method Summary
 SPAbstractTransactionInterface APIcreateTransaction(SPGameInterface gameapiobj, SPMessageClass message)
          Creates a new instance of an Abstract Transaction class.
 java.lang.String[] APIgetTransactionContent()
          This method returns the contents of the Blast
 java.lang.String APIgetTransactionType()
          This method returns a String of the transactiontype.
static SPAbstractTransactionInterface createBlast(SPGameInterface gameobj, java.lang.String master, java.lang.String AGE, java.lang.String[] transinfo)
          This method creates a SPTBlastClass transaction.
static java.lang.String gettranstype()
          This method gets the transaction type.
 void onincomingTransaction(SPMessageClass incoming)
          This method is not supported because this is a single step transaction
static boolean registerTransaction()
          Registers this transaction.
 
Methods inherited from class com.SecurePlay.SPAbstractTransactionClass
APIcompleteTransaction, APIgetAGE, APIgetConfiguration, APIgetGameinstance, APIgetPrivacyFlag, APIgetTransactionstatus, APIisPlayerInternal, APIisTransError, APIsetTransactionID, logError, prinit, pronincomingTransaction, pruniqueinit, setAGE
 
Methods inherited from class com.SecurePlay.SPRootTransactionClass
APIaddListener, APIclearListeners, APIgetGameID, APIgetGetReplayList, APIgetListenerCount, APIgetListeners, APIgetMaster, APIgetPlayerIDList, APIgetTransactionID, APIisPlayerIncluded, APIremoveListener, APIReplayRemoveOldSender, APIresendLastMessage, APIsetReplayList, APIsetSecurePlayClass, detectReplay, sendMessage, SPnotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.SecurePlay.SPAbstractTransactionInterface
APIgetGameID, APIgetMaster, APIgetPlayerIDList, APIgetTransactionID, sendMessage
 

Constructor Detail

SPTBlastClass

public SPTBlastClass()
Default Constructor.


SPTBlastClass

public SPTBlastClass(SPGameInterface gameobj,
                     java.lang.String master,
                     java.lang.String transactionID,
                     java.lang.String AGE,
                     java.lang.String[] transinfo)
Overloaded Constructor

Parameters:
gameobj - SPGameInterface - the game object associated with this transaction
master - String - master of this transaction
transactionID - String - transaction id
AGE -
transinfo - String[] - transaction info
Method Detail

APIgetTransactionContent

public java.lang.String[] APIgetTransactionContent()
This method returns the contents of the Blast

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

onincomingTransaction

public void onincomingTransaction(SPMessageClass incoming)
This method is not supported because this is a single step transaction

Specified by:
onincomingTransaction in interface SPAbstractTransactionInterface
Overrides:
onincomingTransaction in class SPAbstractTransactionClass
Parameters:
incoming - SPMessageClass - incomng message
Returns:
void

gettranstype

public static java.lang.String gettranstype()
This method gets the transaction type.

Returns:
String

createBlast

public static SPAbstractTransactionInterface createBlast(SPGameInterface gameobj,
                                                         java.lang.String master,
                                                         java.lang.String AGE,
                                                         java.lang.String[] transinfo)
This method creates a SPTBlastClass transaction.

Parameters:
gameobj - SPGameInterface - game class associated with this transaction
master - String - master of this transaction
AGE -
transinfo -
Returns:
SPAbstractTransactionInterface - returns created blast class

APIcreateTransaction

public SPAbstractTransactionInterface APIcreateTransaction(SPGameInterface gameapiobj,
                                                           SPMessageClass message)
Creates a new instance of an Abstract Transaction class.

Specified by:
APIcreateTransaction in interface SPAbstractTransactionInterface
Overrides:
APIcreateTransaction in class SPAbstractTransactionClass
Parameters:
gameapiobj - SPGameInterface - game associated with this transaction.
message - SPMessageClass - message that has all the transaction configure info
Returns:
SPAbstractTransactionInterface

registerTransaction

public static boolean registerTransaction()
Registers this transaction.

Returns:
boolean

APIgetTransactionType

public java.lang.String APIgetTransactionType()
This method returns a String of the transactiontype.

Specified by:
APIgetTransactionType in interface SPAbstractTransactionInterface
Overrides:
APIgetTransactionType in class SPAbstractTransactionClass
Returns:
this.transtype - String - name of transaction type

SecurePlayLibray J2SE
v2.1

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.