edu.utah.janos.util
Class FlowBase
java.lang.Object
|
+--edu.utah.janos.nodeos.FlowRun
|
+--edu.utah.janos.util.FlowBase
- Direct Known Subclasses:
- DoWhileCompilerBug, 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,
CommSpaceHandle commSpaceHandle)
This sets the flow, and args fields and then
calls start(). |
abstract void |
start()
|
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
flow
public Flow flow
args
public java.lang.String[] args
commSpaceHandle
public CommSpaceHandle commSpaceHandle
FlowBase
public FlowBase()
run
public void run(Flow flow,
java.lang.String[] args,
CommSpaceHandle commSpaceHandle)
- This sets the flow, and args fields and then
calls start().
start
public abstract void start()
This documentation is Copyright (C) 1998-2001 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: http://www.cs.utah.edu/flux/janos/