edu.rice.cs.util.newjvm
Interface MasterRemote

All Superinterfaces:
Remote
All Known Subinterfaces:
IntegratedMasterSlaveTest.TestMasterRemote, MainJVMRemoteI
All Known Implementing Classes:
AbstractMasterJVM, MainJVM

public interface MasterRemote
extends Remote

The remote interface for a master JVM.

Version:
$Id: MasterRemote.java 4419 2008-03-27 06:58:07Z rcartwright $

Method Summary
 void checkStillAlive()
          No-op to prove that the master is still alive.
 void errorStartingSlave(Throwable cause)
          Called if the slave JVM dies before it is able to register.
 void registerSlave(SlaveRemote slave)
          Registers a slave JVM.
 

Method Detail

registerSlave

void registerSlave(SlaveRemote slave)
                   throws RemoteException
Registers a slave JVM. This method is called by the slave JVM after a connection is made.

Throws:
RemoteException

checkStillAlive

void checkStillAlive()
                     throws RemoteException
No-op to prove that the master is still alive.

Throws:
RemoteException

errorStartingSlave

void errorStartingSlave(Throwable cause)
                        throws RemoteException
Called if the slave JVM dies before it is able to register.

Parameters:
cause - The Throwable which caused the slave to die.
Throws:
RemoteException