arlut.csd.ganymede
Interface Admin

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
iAdmin, serverAdminProxy, stopServerAdmin

public interface Admin
extends java.rmi.Remote

RMI interface that must be implemented by clients that connect to the GanymedeServer through the admin() method. Basically, the admin console and other programs that can act like the admin console have to implement this interface someplace.

The server uses this interface to call methods on the admin console to update the console's status displays. The server also uses this interface to authenticate the console with the getName() and getPassword() methods.


Method Summary
 void changeAdmins(java.lang.String adminStatus)
           
 void changeState(java.lang.String state)
           
 void changeStatus(java.lang.String status)
           
 void changeTasks(java.util.Vector tasks)
           
 void changeUsers(java.util.Vector entries)
           
 void forceDisconnect(java.lang.String reason)
           
 java.lang.String getName()
           
 java.lang.String getPassword()
           
 void setLastDumpTime(java.util.Date date)
           
 void setLocksHeld(int locks)
           
 void setMemoryState(long freeMemory, long totalMemory)
           
 void setObjectsCheckedOut(int objs)
           
 void setServerStart(java.util.Date date)
           
 void setTransactionsInJournal(int trans)
           
 

Method Detail

getName

public java.lang.String getName()
                         throws java.rmi.RemoteException

getPassword

public java.lang.String getPassword()
                             throws java.rmi.RemoteException

forceDisconnect

public void forceDisconnect(java.lang.String reason)
                     throws java.rmi.RemoteException

setServerStart

public void setServerStart(java.util.Date date)
                    throws java.rmi.RemoteException

setLastDumpTime

public void setLastDumpTime(java.util.Date date)
                     throws java.rmi.RemoteException

setTransactionsInJournal

public void setTransactionsInJournal(int trans)
                              throws java.rmi.RemoteException

setObjectsCheckedOut

public void setObjectsCheckedOut(int objs)
                          throws java.rmi.RemoteException

setLocksHeld

public void setLocksHeld(int locks)
                  throws java.rmi.RemoteException

setMemoryState

public void setMemoryState(long freeMemory,
                           long totalMemory)
                    throws java.rmi.RemoteException

changeState

public void changeState(java.lang.String state)
                 throws java.rmi.RemoteException

changeStatus

public void changeStatus(java.lang.String status)
                  throws java.rmi.RemoteException

changeAdmins

public void changeAdmins(java.lang.String adminStatus)
                  throws java.rmi.RemoteException

changeUsers

public void changeUsers(java.util.Vector entries)
                 throws java.rmi.RemoteException

changeTasks

public void changeTasks(java.util.Vector tasks)
                 throws java.rmi.RemoteException