edu.ucdavis.rj
Class RJX_impl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by edu.ucdavis.rj.RJX_impl
All Implemented Interfaces:
RJX, java.io.Serializable, java.rmi.Remote

public class RJX_impl
extends java.rmi.server.UnicastRemoteObject
implements RJX

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface edu.ucdavis.rj.RJX
MAX_MISSED
 
Method Summary
 InLock createRemoteLock()
           
 VM createVM(java.lang.String onHost, java.lang.String fromHost)
           
 VM createVM(java.lang.String onHost, java.lang.String fromHost, java.lang.String vmType, java.lang.Class[] vmParamType, java.lang.Object[] vmParam)
           
 VM createVM(VM host, java.lang.String fromHost)
           
 VM createVM(VM host, java.lang.String fromHost, java.lang.String vmType, java.lang.Class[] vmParamType, java.lang.Object[] vmParam)
           
 boolean destroyVM(java.lang.String host)
           
 void exit(int exitval)
           
 java.lang.Class[] getParamTypes(java.lang.String host)
           
 java.lang.Object[] getParamValues(java.lang.String host)
           
 RemoteOutputStream getStdErr()
           
 RemoteInputStream getStdIn()
           
 RemoteOutputStream getStdOut()
           
 void hello(java.lang.String host, VM rjVM, boolean idle)
           
 void idle(java.lang.String vmName)
           
 void lockEC()
           
static void main(java.lang.String[] args)
           
 void notIdle(java.lang.String vmName)
           
 void ping()
           
 void registerQuiescenceAction(OpProxy opProxy)
           
 void unlockEC()
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
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
 

Method Detail

createVM

public VM createVM(java.lang.String onHost,
                   java.lang.String fromHost)
            throws java.rmi.RemoteException
Specified by:
createVM in interface RJX
Throws:
java.rmi.RemoteException

createVM

public VM createVM(java.lang.String onHost,
                   java.lang.String fromHost,
                   java.lang.String vmType,
                   java.lang.Class[] vmParamType,
                   java.lang.Object[] vmParam)
            throws java.rmi.RemoteException
Specified by:
createVM in interface RJX
Throws:
java.rmi.RemoteException

getParamValues

public java.lang.Object[] getParamValues(java.lang.String host)
                                  throws java.rmi.RemoteException
Specified by:
getParamValues in interface RJX
Throws:
java.rmi.RemoteException

getParamTypes

public java.lang.Class[] getParamTypes(java.lang.String host)
                                throws java.rmi.RemoteException
Specified by:
getParamTypes in interface RJX
Throws:
java.rmi.RemoteException

createVM

public VM createVM(VM host,
                   java.lang.String fromHost)
            throws java.rmi.RemoteException
Specified by:
createVM in interface RJX
Throws:
java.rmi.RemoteException

createVM

public VM createVM(VM host,
                   java.lang.String fromHost,
                   java.lang.String vmType,
                   java.lang.Class[] vmParamType,
                   java.lang.Object[] vmParam)
            throws java.rmi.RemoteException
Specified by:
createVM in interface RJX
Throws:
java.rmi.RemoteException

hello

public void hello(java.lang.String host,
                  VM rjVM,
                  boolean idle)
           throws java.rmi.RemoteException
Specified by:
hello in interface RJX
Throws:
java.rmi.RemoteException

destroyVM

public boolean destroyVM(java.lang.String host)
                  throws java.rmi.RemoteException
Specified by:
destroyVM in interface RJX
Throws:
java.rmi.RemoteException

exit

public void exit(int exitval)
          throws java.rmi.RemoteException
Specified by:
exit in interface RJX
Throws:
java.rmi.RemoteException

main

public static void main(java.lang.String[] args)

getStdOut

public RemoteOutputStream getStdOut()
                             throws java.rmi.RemoteException
Specified by:
getStdOut in interface RJX
Throws:
java.rmi.RemoteException

getStdErr

public RemoteOutputStream getStdErr()
                             throws java.rmi.RemoteException
Specified by:
getStdErr in interface RJX
Throws:
java.rmi.RemoteException

getStdIn

public RemoteInputStream getStdIn()
                           throws java.rmi.RemoteException
Specified by:
getStdIn in interface RJX
Throws:
java.rmi.RemoteException

createRemoteLock

public InLock createRemoteLock()
                        throws java.rmi.RemoteException
Specified by:
createRemoteLock in interface RJX
Throws:
java.rmi.RemoteException

lockEC

public void lockEC()
            throws java.rmi.RemoteException
Specified by:
lockEC in interface RJX
Throws:
java.rmi.RemoteException

unlockEC

public void unlockEC()
              throws java.rmi.RemoteException
Specified by:
unlockEC in interface RJX
Throws:
java.rmi.RemoteException

ping

public void ping()
          throws java.rmi.RemoteException
Specified by:
ping in interface RJX
Throws:
java.rmi.RemoteException

idle

public void idle(java.lang.String vmName)
          throws java.rmi.RemoteException
Specified by:
idle in interface RJX
Throws:
java.rmi.RemoteException

notIdle

public void notIdle(java.lang.String vmName)
             throws java.rmi.RemoteException
Specified by:
notIdle in interface RJX
Throws:
java.rmi.RemoteException

registerQuiescenceAction

public void registerQuiescenceAction(OpProxy opProxy)
                              throws java.rmi.RemoteException,
                                     QuiescenceRegistrationException
Specified by:
registerQuiescenceAction in interface RJX
Throws:
java.rmi.RemoteException
QuiescenceRegistrationException