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.
#include <SecurePlayClass.h>
Public Member Functions | |
| SecurePlayClass () | |
| bool | APIsetLicenseInfo (string pocname, string company, string siteURL, string email, string SPSerialNumber, string SPLicenseKey) |
| bool | APIcreatePlayer (string playerID) |
| bool | APIcreateComms (string commsID, SPAbstractCommsInterface *commsObj) |
| bool | APIsetPlayerGameComms (string gid, string playerID, string commsID) |
| bool | APIaddGamePlayer (string gid, string pid) |
| bool | APIaddGameComms (string gid, string commsID) |
| SPGameInterface * | APIgetGame (string gameID) |
| SPAbstractCommsInterface * | APIgetCommsService (string commsID) |
| bool | APIremoveGame (string gameID) |
| bool | APIremovePlayer (string playerID) |
| bool | APIremoveCommsService (string commsID) |
| void | APIclearGames () |
| void | APIclearPlayers () |
| void | APIclearCommsServices () |
| vector< string > | APIgetOpenCommServiceIDs () |
| vector< string > | APIgetOpenGameIDs () |
| vector< string > | APIgetOpenPlayerIDs () |
| bool | isPlayerIncluded (string pid) |
| bool | isGameIncluded (string gid) |
| bool | isCommsIncluded (string cid) |
| bool | APIcreateGame (SPGameInterface *game, string gameID) |
| string | getCompany () |
| string | getEmail () |
| bool | isInitialized () |
| string | getPocname () |
| string | APIgetLicenseSummary () |
| bool | APIaddLibraryListeners (SPEventInterface *Glistener) |
| bool | APIremoveLibraryListeners (SPEventInterface *Glistener) |
| bool | APIclearLibraryListeners () |
| vector< SPEventInterface * > | APIgetLibraryListeners () |
Static Public Member Functions | |
| string | releaseversion () |
Protected Member Functions | |
| bool | checkLicense () |
| SPMap< string, SPAbstractCommsInterface * > | getPrcommsServicesList () |
| SPMap< string, SPGameInterface * > | getPrgamesList () |
| vector< string > | getPrplayersList () |
|
|
Default Constructor. This constructor sets all the lisence related parameters to its default. And it sets the default for Log, SecurityManager, and it also registers Blast Transaction as default transaction for this library. |
|
||||||||||||
|
This method associates a communications service with a game instance.
|
|
||||||||||||
|
This method associates a Player instance with a Game Instance so the player can participate in the game.
|
|
|
This method adds a global listener to this SecurePlayClass.
|
|
|
This clears all of the comms services associated with the SecurePlay library. It should be used with great caution.
|
|
|
This removes all of the Game Instances associated with the SecurePlay library. Use with caution.
|
|
|
This method removes all the global listeners from this SecurePlayClass.
|
|
|
This method removes all of the Player Instances associated with the SecurePlay library.
|
|
||||||||||||
|
This method creates a comms service.
|
|
||||||||||||
|
Attach an existing Game Instance to the Library.
|
|
|
Adds a player instance.
|
|
|
This method uses a commsID and returns the appropriate Communications Service Instance.
|
|
|
This method takes a gameID and returns the associated Game Instance object.
|
|
|
Gets all the listeners that are listening for any notify in this library.
|
|
|
This method returns the summary of the license.
|
|
|
This method return
|
|
|
Gets the keys of an associative array(SPHashtable) this.prgamesList and returns them as a String array of open games id list.
|
|
|
Returns a list of player IDs open.
|
|
|
This method removes a Comms Service Instance specified by a commsID from the active SecurePlay library.
|
|
|
This method takes a gameID and removes the Game Instance from the active SecurePlay library.
|
|
|
This method removes a global listener object from this SecurePlayClass.
|
|
|
This method removes an instance of a Player from the active SecurePlay library.
|
|
||||||||||||||||||||||||||||
|
Loads registered SecurePlay licensee information. Removal, modification, or disablement of this method or any other licensing code is a violation of the SecurePlay library license agreement. This method is used for Commercial Licenses. Simple Open Source licensees use the APIsetSOSLicenseInfo method.
|
|
||||||||||||||||
|
This method associates a specific comms service with a specific player and a specific game.
|
|
|
This method is used to verify that the SecurePlay license information is provided completely and properly.
|
|
|
Getter function that returns the property: company
|
|
|
Getter function that returns the property: email
|
|
|
Getter function that returns the property: pocname
|
|
|
Getter function that returns the property: prcommsServicesList
|
|
|
Getter function that returns the property: prgamesList
|
|
|
Getter function that returns the property: prplayersList
|
|
|
This method checks to see if the comms object exists in the comms list of this library.
|
|
|
This method checks to see if the game exists in the game list of this library.
|
|
|
Getter function that returns the property: initialized
|
|
|
This method returns a boolean TRUE if there is a player object specified by the indicated Player ID is included in the Library instance.
|
|
|
This method returns the current release verion of this library.
|