wyvern.world
Class SystemStatus

java.lang.Object
  extended bywyvern.world.SystemStatus

public class SystemStatus
extends java.lang.Object

Provides utilities for querying system status via xml/rpc. DON'T CALL GAME FUNCTIONS DIRECTLY - this is intended to run in a separate JVM, etc. Apache JServ. You can use this class to make XML calls to a remote game server; the calls should be defined in RPCDispatcher.java.

Version:
1.0, Oct 16, 2000
Author:
Steve Yegge

Constructor Summary
SystemStatus()
           
 
Method Summary
static java.lang.String getNumPlayers()
          Returns the number of players logged in.
static void setHost(java.lang.String host)
          Sets the host we want to query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemStatus

public SystemStatus()
Method Detail

setHost

public static void setHost(java.lang.String host)
Sets the host we want to query.


getNumPlayers

public static java.lang.String getNumPlayers()
Returns the number of players logged in.

Returns:
the number of players online, or "unknown"