|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.starhope.vergil.game.PubliusVergiliusMaro
public class PubliusVergiliusMaro
This is the static class that dispatches calls to the specific GameImplementor for the local client implementation
Field Summary | |
---|---|
private static AppianClient |
client
the AppianClient for the current instance |
private static GameImplementor |
gameImplementor
The game implementation must supply these callbacks in its interface |
private static String |
userLogin
WRITEME: Document this brpocock@star-hope.org |
private static String |
userPassword
WRITEME: Document this brpocock@star-hope.org |
Constructor Summary | |
---|---|
PubliusVergiliusMaro()
|
Method Summary | |
---|---|
static void |
connectClient(String hostName,
int portNumber)
WRITEME |
static String |
getImplementorCanonicalName()
WRITEME |
static String |
getImplementorCopyright()
WRITEME |
static String |
getImplementorSubtitle()
WRITEME |
static String |
getImplementorTitle()
WRITEME |
static String |
getUserLogin()
|
static String |
getUserPassword()
|
static boolean |
isDebug()
WRITEME |
static void |
promptForLogin()
WRITEME: Document this method brpocock@star-hope.org |
static void |
reportBug(String string)
WRITEME |
static void |
reportBug(String string,
Throwable t)
WRITEME |
static void |
reportBug(Throwable t)
WRITEME |
static void |
send(String string)
WRITEME: Document this method brpocock@star-hope.org |
static void |
sendCommand(String command,
com.google.gwt.json.client.JSONObject data)
WRITEME: Document this method brpocock@star-hope.org |
static void |
setImplementation(GameImplementor implementation)
WRITEME |
void |
setLoginCredentials(String login,
String password)
Set the user's login and password at one go. |
void |
setUserLogin(String newLogin)
|
void |
setUserPassword(String newPassword)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static AppianClient client
private static GameImplementor gameImplementor
private static String userLogin
private static String userPassword
Constructor Detail |
---|
public PubliusVergiliusMaro()
Method Detail |
---|
public static void connectClient(String hostName, int portNumber)
hostName
- WRITEMEportNumber
- WRITEMEpublic static String getImplementorCanonicalName()
public static String getImplementorCopyright()
public static String getImplementorSubtitle()
public static String getImplementorTitle()
public static String getUserLogin()
public static String getUserPassword()
public static boolean isDebug()
public static void promptForLogin()
public static void reportBug(String string)
string
- WRITEMEpublic static void reportBug(String string, Throwable t)
string
- WRITEMEt
- WRITEMEpublic static void reportBug(Throwable t)
t
- WRITEMEpublic static void send(String string)
string
- string to be sentpublic static void sendCommand(String command, com.google.gwt.json.client.JSONObject data) throws ServerDisconnectedException
command
- command verbdata
- any ancillary data (null is accepted)
ServerDisconnectedException
- if it didpublic static void setImplementation(GameImplementor implementation)
implementation
- WRITEMEpublic void setLoginCredentials(String login, String password)
login
- loginpassword
- passwordpublic void setUserLogin(String newLogin)
newLogin
- the userLogin to setpublic void setUserPassword(String newPassword)
newPassword
- the userPassword to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |