|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapp2.client.GASPClient
app2.client.NetworkCom
Field Summary | |
static long |
minimalRequestDeltaTime
|
Constructor Summary | |
NetworkCom(IHMGasp c)
|
Method Summary | |
void |
addMessageToSend(java.lang.Object o)
|
void |
initCustomTypes()
|
static NewPlayer |
newNewPlayerMessage()
Creation of a new event NewPlayer. |
void |
onDataEvent(int actorSessionID,
java.util.Hashtable datas)
Method called when a DataEvent is received from the platform. |
void |
onEndEvent(int actorSessionID)
Method called when a EndEvent is received from the platform. |
void |
onJoinEvent(int actorSessionID,
java.lang.String username)
Method called when a JoinEvent is received from the platform. |
void |
onQuitEvent(int actorSessionID)
Method called when a QuitEvent is received from the platform. |
void |
onStartEvent(int actorSessionID)
Method called when a StartEvent is received from the platform. |
static void |
release(java.lang.Object x)
release the object which is put in parameter. |
void |
run()
|
void |
startComThread()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final long minimalRequestDeltaTime
Constructor Detail |
public NetworkCom(IHMGasp c)
Method Detail |
public void run()
run
in interface java.lang.Runnable
public void startComThread()
public void initCustomTypes()
initCustomTypes
in class GASPClient
public void onJoinEvent(int actorSessionID, java.lang.String username)
GASPClient
onJoinEvent
in class GASPClient
actorSessionID
- username
- public void onStartEvent(int actorSessionID)
GASPClient
onStartEvent
in class GASPClient
actorSessionID
- public void onEndEvent(int actorSessionID)
GASPClient
onEndEvent
in class GASPClient
actorSessionID
- public void onQuitEvent(int actorSessionID)
GASPClient
onQuitEvent
in class GASPClient
actorSessionID
- public void onDataEvent(int actorSessionID, java.util.Hashtable datas)
GASPClient
onDataEvent
in class GASPClient
actorSessionID
- datas
- the hashtable of dataspublic static NewPlayer newNewPlayerMessage()
public static void release(java.lang.Object x)
public void addMessageToSend(java.lang.Object o)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |