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(arlut.csd.ganymede.Admin remoteConsole)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FIRST

static final byte FIRST
See Also:
Constant Field Values

SETSERVERSTART

static final byte SETSERVERSTART
See Also:
Constant Field Values

SETLASTDUMPTIME

static final byte SETLASTDUMPTIME
See Also:
Constant Field Values

SETTRANSACTIONS

static final byte SETTRANSACTIONS
See Also:
Constant Field Values

SETOBJSCHECKOUT

static final byte SETOBJSCHECKOUT
See Also:
Constant Field Values

SETLOCKSHELD

static final byte SETLOCKSHELD
See Also:
Constant Field Values

CHANGESTATE

static final byte CHANGESTATE
See Also:
Constant Field Values

CHANGESTATUS

static final byte CHANGESTATUS
See Also:
Constant Field Values

CHANGEADMINS

static final byte CHANGEADMINS
See Also:
Constant Field Values

CHANGEUSERS

static final byte CHANGEUSERS
See Also:
Constant Field Values

CHANGETASKS

static final byte CHANGETASKS
See Also:
Constant Field Values

SETMEMORYSTATE

static final byte SETMEMORYSTATE
See Also:
Constant Field Values

LAST

static final byte LAST
See Also:
Constant Field Values

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(arlut.csd.ganymede.Admin remoteConsole)
              throws java.rmi.RemoteException
java.rmi.RemoteException