|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.asdf.common.Game
com.asdf.test.TestGamePlugin
public class TestGamePlugin
Game for testing purposes
Field Summary |
---|
Fields inherited from class com.asdf.common.Game |
---|
age |
Constructor Summary | |
---|---|
TestGamePlugin()
|
Method Summary | |
---|---|
void |
die()
Offers the game a chance to notify all players and observers about the imminent destruction of this game. |
void |
handleRequest(long sessionID,
GameRequest request)
Handle incoming GameRequest. |
void |
handleResponse(long sessionID,
GameResponse response)
Handle incoming GameResponse. |
Methods inherited from class com.asdf.common.Game |
---|
columnNamesSync, descriptionSync, detailsSync, dieSync, getAccountName, getId, getName, getUserType, handleRequestSync, handleResponseSync, initialize, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestGamePlugin()
Method Detail |
---|
public void handleRequest(long sessionID, GameRequest request)
Game
sessionID
- Identifies session on which the message was receivedrequest
- GameRequestpublic void handleResponse(long sessionID, GameResponse response)
Game
sessionID
- Identifies session on which the message was receivedresponse
- GameResponsepublic void die()
Game
die
in class Game
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |