edu.rice.cs.util.newjvm
Class IntegratedMasterSlaveTest.CounterSlave
java.lang.Object
edu.rice.cs.util.newjvm.AbstractSlaveJVM
edu.rice.cs.util.newjvm.IntegratedMasterSlaveTest.CounterSlave
- All Implemented Interfaces:
- IntegratedMasterSlaveTest.TestSlaveRemote, SlaveRemote, Remote
- Enclosing class:
- IntegratedMasterSlaveTest
public static class IntegratedMasterSlaveTest.CounterSlave
- extends AbstractSlaveJVM
- implements IntegratedMasterSlaveTest.TestSlaveRemote
The slave will exit with error codes in the case of problems, since there is no other thing it can do!
- 1
- MasterRemote class cast exception.
- 2
- Incorect value from getLetter
- 3
- RemoteException caught
- 4
- Timeout waiting for master JVM to call
- 5
- Interrupted while waiting for master JVM to call
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ONLY
public static final IntegratedMasterSlaveTest.CounterSlave ONLY
getNumber
public int getNumber()
- Specified by:
getNumber
in interface IntegratedMasterSlaveTest.TestSlaveRemote
handleStart
protected void handleStart(MasterRemote m)
- Description copied from class:
AbstractSlaveJVM
- Called when the slave JVM has started running. Subclasses must implement this method.
- Specified by:
handleStart
in class AbstractSlaveJVM
startLetterTest
public void startLetterTest()
throws RemoteException
- Specified by:
startLetterTest
in interface IntegratedMasterSlaveTest.TestSlaveRemote
- Throws:
RemoteException