edu.utah.janos.util
Class FlowBase
java.lang.Object
|
+--edu.utah.janos.nodeos.FlowRun
|
+--edu.utah.janos.util.FlowBase
- Direct Known Subclasses:
- DoWhileCompilerBug, FlowTest, HelloWorld, LogCheck, OverloadingCompilerBug, PacketDump, StdinTest, TestFlow, TPTest, UdpTest
- public abstract class FlowBase
- extends FlowRun
A protocol should override FlowBase so that a flow can
be created for it. When the flow is created, the overridden start()
method is called.
The flow and args variables are guaranteed to
be set before start() is called, but may not be set when
the constructor is called.
Method Summary |
void |
run(Flow flow,
java.lang.String[] args,
edu.utah.janosvm.kit.comm.commspace.CommSpaceHandle commSpaceHandle)
This sets the flow, and args fields and then
calls start(). |
abstract void |
start()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
flow
public Flow flow
args
public java.lang.String[] args
commSpaceHandle
public edu.utah.janosvm.kit.comm.commspace.CommSpaceHandle commSpaceHandle
bufferHandleFreeList
protected FreeList bufferHandleFreeList
FlowBase
public FlowBase()
run
public void run(Flow flow,
java.lang.String[] args,
edu.utah.janosvm.kit.comm.commspace.CommSpaceHandle commSpaceHandle)
- This sets the flow, and args fields and then
calls start().
- Overrides:
- run in class FlowRun
- Tags copied from class: FlowRun
- Parameters:
flow
- the new flow and the current flowargs
- whatever "command line" arguments the creator passed.csh
- handle on a parent's CommSpace
start
public abstract void start()
This documentation is Copyright (C) 1998-2002 The University of Utah. All Rights Reserved. See the file LICENSE for distribution terms.
Documentation, software, and mailing list archives for Janos can be found at the Janos Project web site: http://www.cs.utah.edu/flux/janos/
Generated on Mar 17, 2002