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

#include <SPCLocalCommsClass.h>

Inheritance diagram for SecurePlayLibrary::SPCLocalCommsClass:

SecurePlayLibrary::SPAbstractCommsClass SecurePlayLibrary::SPAbstractCommsInterface List of all members.

Public Member Functions

 SPCLocalCommsClass ()
bool prsend (vector< SPbyte > message)
bool APIactivate ()
bool APIdeactivate ()
void incoming (vector< SPbyte > message)
virtual DWORD Run (LPVOID)

Public Attributes

const string commstype

Detailed Description

This method handles communications between multiple instances of the SecurePlay library on a single computer. This is an easy way to test or implement multiplayer games with a single design. Each SecurePlay library instance should have its own SPLocalCommsClass object instance
Author:
IT GlobalSecure
See also:
SecurePlay License Information


Constructor & Destructor Documentation

SPCLocalCommsClass::SPCLocalCommsClass  ) 
 

Default Constructor


Member Function Documentation

bool SPCLocalCommsClass::APIactivate  ) 
 

This method adds the Local Comms instance to the set of active Local Comms objects so it will receive incoming messages

Reimplemented from SecurePlayLibrary::SPAbstractCommsClass.

bool SPCLocalCommsClass::APIdeactivate  ) 
 

This method removes the Local Comms instance from the set of active local Comms objects so it can no longer send or receive messages

Reimplemented from SecurePlayLibrary::SPAbstractCommsClass.

void SPCLocalCommsClass::incoming vector< SPbyte >  message  ) 
 

This method handles incoming messages and passes them on for processing by the various games associated with the Local Comms instance.

Parameters:
message - String - message

bool SPCLocalCommsClass::prsend vector< SPbyte >  message  ) 
 

This method sends messages to each of the registered Local Comms instances

Parameters:
message 
Returns:
boolean - true, if successful

Reimplemented from SecurePlayLibrary::SPAbstractCommsClass.

virtual DWORD SecurePlayLibrary::SPCLocalCommsClass::Run LPVOID   )  [inline, virtual]
 

This method activates the thread


Member Data Documentation

const string SecurePlayLibrary::SPCLocalCommsClass::commstype
 

Type of Comms Service

Reimplemented from SecurePlayLibrary::SPAbstractCommsClass.


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.