#include <SPAbstractCommsInterface.h>
Inheritance diagram for SecurePlayLibrary::SPAbstractCommsInterface:

Public Member Functions | |
| virtual | ~SPAbstractCommsInterface () |
| virtual bool | setcommsID (string cid)=0 |
| virtual string | getCommsServiceType ()=0 |
| virtual bool | addGame (string gid, SPCommsManagerCommsInterface *gamcomobj)=0 |
| virtual bool | removeGame (string gid)=0 |
| virtual bool | addPlayer (string pid, string gid)=0 |
| virtual bool | removePlayer (string pid, string gid)=0 |
| virtual int | sendMessage (SPMessageClass *clearmessage, SPMessageClass *alternatemessage)=0 |
| virtual int | sendMessage (vector< string > receivers, SPMessageClass *clearmessage, SPMessageClass *alternatemessage)=0 |
| virtual string | getCommsID ()=0 |
| virtual bool | isGameInternal (string gid)=0 |
| virtual map< string, vector< string > * > | getGameplayerList ()=0 |
| virtual vector< string > | getInternalGameIDList ()=0 |
| virtual map< string, SPCommsManagerCommsInterface * > | getPrinternalGameList ()=0 |
|
|
Virtual Destructor. |
|
||||||||||||
|
This method adds an internal game to a specific comms service. The connection is to the SPComms class associated with the game to allow incoming messages to be serviced.
Implemented in SecurePlayLibrary::SPAbstractCommsClass. |
|
||||||||||||
|
This method adds a player ID of a remote player serviced by this comm service
Implemented in SecurePlayLibrary::SPAbstractCommsClass. |
|
|
Gets the comms id.
Implemented in SecurePlayLibrary::SPAbstractCommsClass. |
|
|
This method returns a unique identifier for the type of comms service instance.
Implemented in SecurePlayLibrary::SPAbstractCommsClass, and SecurePlayLibrary::SPCLocalCommsFileClass. |
|
|
Getter function that returns the property: gameplayerList
Implemented in SecurePlayLibrary::SPAbstractCommsClass. |
|
|
Getter function that returns the property: internalGameIDList
Implemented in SecurePlayLibrary::SPAbstractCommsClass. |
|
|
Getter function that returns the property: printernalGameList
Implemented in SecurePlayLibrary::SPAbstractCommsClass. |
|
|
This method returns whether a game is handled internally by a comms service
Implemented in SecurePlayLibrary::SPAbstractCommsClass. |
|
|
This method removes the association of a game with the comms service. NOTE: actually the association that is removed is with the game instance's SPComms class instance.
Implemented in SecurePlayLibrary::SPAbstractCommsClass. |
|
||||||||||||
|
This method removes a player from the list of remote players served by this comm service.
Implemented in SecurePlayLibrary::SPAbstractCommsClass. |
|
||||||||||||||||
|
This method returns a number based on the input array to indicate how many of the input array's player IDs are included in the comms service playerIDList This method is depreceated and will be removed in a future version of the software (This method takes the message and sends it over the network, if they are served by this comms service.)
Implemented in SecurePlayLibrary::SPAbstractCommsClass. |
|
||||||||||||
|
This method returns a number based on the input array to indicate how many of the input array's player IDs are included in the comms service playerIDList (This method takes the message and sends it over the network, if they are served by this comms service.)
Implemented in SecurePlayLibrary::SPAbstractCommsClass. |
|
|
This method sets the internal ID for a comms service if it has not been set. NOTE, this ID is not the public, network, or other ID for the communications service, but simply an internal handler.
Implemented in SecurePlayLibrary::SPAbstractCommsClass. |