ObjectFleetProcess
public abstract class FleetProcess
Represents a running "slave" fleet with debugging facilities controlled by the "master" JVM.
Each Fleet which supports this API must include:
| Constructor Summary | |
|---|---|
FleetProcess()
|
|
| Method Summary | |
|---|---|
void |
finalize()
|
abstract void |
flush()
flush all instructions, words, and tokens dispatched so far |
abstract Dock |
getDebugInputDock()
the dock used to read back data from the slave |
abstract Fleet |
getFleet()
return the Fleet that this FleetProcess controls |
boolean |
isTerminated()
Returns true if the process is terminated |
abstract BitVector |
recvWord()
returns the next word delivered at the dock specified by getDebugInputDock() |
abstract void |
sendInstruction(Instruction i)
dispatch an instruction; may be buffered |
abstract void |
sendToken(Destination d)
dispatch a token to a given destination; may be buffered |
abstract void |
sendWord(Destination d,
BitVector word)
dispatch a word to a given destination; may be buffered |
void |
terminate()
Terminate the process. |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FleetProcess()
| Method Detail |
|---|
public abstract void sendInstruction(Instruction i)
public abstract void sendWord(Destination d,
BitVector word)
public abstract void sendToken(Destination d)
public abstract void flush()
public abstract Dock getDebugInputDock()
public abstract BitVector recvWord()
public final void terminate()
public final boolean isTerminated()
public void finalize()
finalize in class Objectpublic abstract Fleet getFleet()