|
SecurePlayLibray J2SE v2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.SecurePlay.Comms.SPAbstractCommsClass
com.SecurePlay.Comms.SPCLocalComms.SPCLocalCommsClass
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

| Nested Class Summary | |
(package private) class |
SPCLocalCommsClass.Dispatchmess
This inner class dispatches messages to all of the |
| Field Summary | |
(package private) boolean |
activated
|
java.lang.String |
commstype
Type of Comms Service |
(package private) java.lang.String |
extendedversion
Developer extended version. |
(package private) static java.util.Vector |
localcommsset
|
(package private) java.lang.String |
releaseversion
IT GlobalSecure release version. |
(package private) java.lang.Thread |
t1
|
| Fields inherited from class com.SecurePlay.Comms.SPAbstractCommsClass |
|
| Constructor Summary | |
SPCLocalCommsClass()
Default Constructor |
|
| Method Summary | |
boolean |
APIactivate()
This method adds the Local Comms instance to the set of active Local Comms objects so it will receive incoming messages |
boolean |
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 |
(package private) void |
incoming(byte[] message)
This method handles incoming messages and passes them on for processing by the various games associated with the Local Comms instance. |
boolean |
prsend(byte[] message)
This method sends messages to each of the registered Local Comms instances |
void |
run()
|
| Methods inherited from class com.SecurePlay.Comms.SPAbstractCommsClass |
addGame, addPlayer, APIconfigureCommService, getCommsID, getCommsServiceType, getGameplayerList, getInternalGameIDList, getPrinternalGameList, isGameInternal, logError, processincoming, prreceive, removeGame, removePlayer, sendMessage, setcommsID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
final java.lang.String extendedversion
final java.lang.String releaseversion
boolean activated
static java.util.Vector localcommsset
java.lang.Thread t1
public final java.lang.String commstype
| Constructor Detail |
public SPCLocalCommsClass()
| Method Detail |
public boolean prsend(byte[] message)
prsend in class SPAbstractCommsClassmessage -
public boolean APIactivate()
APIactivate in class SPAbstractCommsClasspublic boolean APIdeactivate()
APIdeactivate in class SPAbstractCommsClassvoid incoming(byte[] message)
message - - String - messagepublic void run()
run in interface java.lang.Runnable
|
SecurePlayLibray J2SE v2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||