|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AppianClient
Method Summary | |
---|---|
void |
close()
Close the server connection and terminate the game |
void |
connect(String serverAddress,
int serverPort)
Connect to the server based upon a hostname and port |
void |
send(String string)
WRITEME: Document this method brpocock@star-hope.org |
void |
sendResponse(com.google.gwt.json.client.JSONObject result)
WRITEME |
void |
setBusyState(boolean b)
WRITEME: Document this method brpocock@star-hope.org |
void |
setLastInputTime(long thatTime)
WRITEME: Document this method brpocock@star-hope.org |
void |
tick(long currentTime,
long deltaTime)
|
String |
toString()
This returns a plethora of debugging-useful information about this particular server thread. |
Method Detail |
---|
void close()
void connect(String serverAddress, int serverPort) throws UnknownHostException, IOException, ServerDisconnectedException
serverAddress
- hostname or IP address of the serverserverPort
- port number on the server
UnknownHostException
- If the hostname can't be interpreted
IOException
- If we're not able to connect to the server
ServerDisconnectedException
- If we're disconnectedvoid send(String string)
string
- WRITEMEvoid sendResponse(com.google.gwt.json.client.JSONObject result) throws ServerDisconnectedException
result
- WRITEME
ServerDisconnectedException
- WRITEMEvoid setBusyState(boolean b)
b
- WRITEMEvoid setLastInputTime(long thatTime)
thatTime
- WRITEMvoid tick(long currentTime, long deltaTime)
currentTime
- WRITEMEdeltaTime
- WRITEMEString toString()
toString
in class Object
Thread.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |