wt.manager
Class StandardServerMonitor

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended bywt.util.RMIServer
              extended bywt.manager.StandardServerMonitor
All Implemented Interfaces:
Remote, Serializable, ServerMonitors, Unreferenced

public class StandardServerMonitor
extends RMIServer
implements ServerMonitors, Unreferenced

Supported API: false
Extendable: false

See Also:
Serialized Form

Nested Class Summary
(package private)  class StandardServerMonitor.Pinger
           
(package private)  class StandardServerMonitor.ServerMonitor
           
 
Field Summary
private  int DEFAULT_INTERVAL
           
private  int MARSHAL_RETRY
           
private  Hashtable monitors
           
private  String MONITORS
           
private  int PING_TIMEOUT
           
private  WTProperties properties
           
private  int RMI_TIMEOUT
           
(package private)  RemoteServerManager server_manager
           
static String SERVER_MONITOR
           
private  boolean VERBOSE
           
static String versionID
           
 
Fields inherited from class wt.util.RMIServer
csf, ssf
 
Fields inherited from class java.rmi.server.RemoteServer
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
StandardServerMonitor()
          NoArg Constructor, get an instance of the server manager and start up Server(s), loop periodically checking on them.
 
Method Summary
(package private)  Vector getAllServers(String server_name)
          Get all servers from the server manager
(package private)  void getProperties()
          get local Properties
 Vector getServicesStarted()
          Supported API: false
 ServiceStat getServiceStats(String service_name)
          Supported API: false
 void unreferenced()
          Supported API: false
 
Methods inherited from class wt.util.RMIServer
clone, exportObject, exportObject, exportObject, getClientSocketFactory, getPort, getServerSocketFactory, getStub, isHostInList, isLocalHost, setPort, writeReplace
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

versionID

public static final String versionID
See Also:
Constant Field Values

RMI_TIMEOUT

private int RMI_TIMEOUT

DEFAULT_INTERVAL

private int DEFAULT_INTERVAL

PING_TIMEOUT

private int PING_TIMEOUT

VERBOSE

private boolean VERBOSE

MARSHAL_RETRY

private int MARSHAL_RETRY

MONITORS

private String MONITORS

properties

private WTProperties properties

SERVER_MONITOR

public static final String SERVER_MONITOR
See Also:
Constant Field Values

server_manager

RemoteServerManager server_manager

monitors

private Hashtable monitors
Constructor Detail

StandardServerMonitor

public StandardServerMonitor()
                      throws RemoteException
NoArg Constructor, get an instance of the server manager and start up Server(s), loop periodically checking on them.

Supported API: false

Method Detail

getServicesStarted

public Vector getServicesStarted()
                          throws RemoteException
Supported API: false

Specified by:
getServicesStarted in interface ServerMonitors
Throws:
RemoteException

getServiceStats

public ServiceStat getServiceStats(String service_name)
                            throws RemoteException
Supported API: false

Specified by:
getServiceStats in interface ServerMonitors
Throws:
RemoteException

unreferenced

public void unreferenced()
Supported API: false

Specified by:
unreferenced in interface Unreferenced

getProperties

void getProperties()
get local Properties


getAllServers

Vector getAllServers(String server_name)
Get all servers from the server manager