|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object spellcast.net.ServerStatus
public class ServerStatus
This class contains the status of the server. The server status contains the game name, the number of players, the ip address of the server and the current state for new connections. It also provides hooks for accessing the data via numeric indices so the class can be used as part of a TableModel.
ServerListTableModel
,
Serialized FormConstructor Summary | |
---|---|
ServerStatus(Server server)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
get(int index)
Used by ServerListTableModel to obtain a column indexed version of this classes attributes. |
static java.lang.String[] |
getColumnHeaders()
Returns the column headers needed for table headers as an array of strings. |
ConnectionStatus |
getConnectionStatus()
|
java.lang.String |
getGameName()
|
int |
getNumberOfPlayers()
|
int |
getPort()
|
java.net.InetAddress |
getServerIPAddress()
|
VersionDetails |
getVersionDetails()
Get the value of versionDetails. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerStatus(Server server)
server
- Method Detail |
---|
public java.lang.Object get(int index)
public static java.lang.String[] getColumnHeaders()
public java.lang.String getGameName()
public int getNumberOfPlayers()
public java.net.InetAddress getServerIPAddress()
public int getPort()
public ConnectionStatus getConnectionStatus()
public VersionDetails getVersionDetails()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |