arlut.csd.ganymede
Class adminEvent

java.lang.Object
  |
  +--arlut.csd.ganymede.adminEvent

class adminEvent
extends java.lang.Object

The adminEvent class is used on the Ganymede server by the serverAdminProxy class, which uses it to queue up method calls to a remote admin console.

adminEvent objects are never sent to a remote admin console. rather, they are queued up in the Ganymede server by the serverAdminProxy class so that a background communications thread can read adminEvents off of a queue and make the appropriate RMI calls to an attached admin console.


Field Summary
(package private) static byte CHANGEADMINS
           
(package private) static byte CHANGESTATE
           
(package private) static byte CHANGESTATUS
           
(package private) static byte CHANGETASKS
           
(package private) static byte CHANGEUSERS
           
(package private) static byte FIRST
           
(package private) static byte LAST
           
(package private)  byte method
          Identifies what RMI call is going to need to be made to the remote admin console.
(package private)  java.lang.Object param
          Generic RMI call parameter to be sent to the remote admin console.
(package private) static byte SETLASTDUMPTIME
           
(package private) static byte SETLOCKSHELD
           
(package private) static byte SETMEMORYSTATE
           
(package private) static byte SETOBJSCHECKOUT
           
(package private) static byte SETSERVERSTART
           
(package private) static byte SETTRANSACTIONS
           
 
Constructor Summary
adminEvent(byte method, java.lang.Object param)
           
 
Method Summary
 void dispatch(Admin remoteConsole)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

FIRST

static final byte FIRST

SETSERVERSTART

static final byte SETSERVERSTART

SETLASTDUMPTIME

static final byte SETLASTDUMPTIME

SETTRANSACTIONS

static final byte SETTRANSACTIONS

SETOBJSCHECKOUT

static final byte SETOBJSCHECKOUT

SETLOCKSHELD

static final byte SETLOCKSHELD

CHANGESTATE

static final byte CHANGESTATE

CHANGESTATUS

static final byte CHANGESTATUS

CHANGEADMINS

static final byte CHANGEADMINS

CHANGEUSERS

static final byte CHANGEUSERS

CHANGETASKS

static final byte CHANGETASKS

SETMEMORYSTATE

static final byte SETMEMORYSTATE

LAST

static final byte LAST

method

byte method

Identifies what RMI call is going to need to be made to the remote admin console.


param

java.lang.Object param

Generic RMI call parameter to be sent to the remote admin console. If an RMI call normally takes more than one parameter, param should be some sort of composite object (Vector, Array, object) which contains the parameters internally.

Constructor Detail

adminEvent

public adminEvent(byte method,
                  java.lang.Object param)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

dispatch

public void dispatch(Admin remoteConsole)
              throws java.rmi.RemoteException