edu.rice.cs.util.newjvm
Interface SlaveRemote

All Superinterfaces:
Remote
All Known Subinterfaces:
IntegratedMasterSlaveTest.TestSlaveRemote, InterpreterJVMRemoteI
All Known Implementing Classes:
AbstractSlaveJVM, IntegratedMasterSlaveTest.CounterSlave, InterpreterJVM

public interface SlaveRemote
extends Remote

The remote interface for a slave JVM.

Version:
$Id: SlaveRemote.java 5175 2010-01-20 08:46:32Z mgricken $

Method Summary
 void quit()
          Quits the slave JVM.
 void start(MasterRemote master)
          This method is called when the slave JVM is initialized.
 

Method Detail

start

void start(MasterRemote master)
           throws RemoteException
This method is called when the slave JVM is initialized.

Parameters:
master - The remote link to the master JVM. Note that the implementation of the slave class will have to downcast this reference to the correct master remote interface.
Throws:
RemoteException

quit

void quit()
          throws RemoteException
Quits the slave JVM.

Throws:
RemoteException