Class FlowDownConnectionStoreIterator
java.lang.Object
|
+----java.util.VectorIterator
|
+----ConnectionStoreIterator
|
+----FlowDownConnectionStoreIterator
- class FlowDownConnectionStoreIterator
- extends ConnectionStoreIterator
FlowDownConnectionStoreIterator is one of three classes that can be used
to walk (depth first) through a network of modules. This class uses the
action method on the connections of this StoreIterator and proceeds to
underlaying modules via the inconnector of the connections. The module
obtained from a connection is processed via the FlowDownConnectionStore-
Iterator.
- See Also:
- FlowDownModuleStoreIterator, FlowDownOutConnectorStoreIterator, Connection
-
flowDown
- The flowDown object contains specific methods that are neccesary to
run the action method of FlowDownModuleStoreIterator.
-
FlowDownConnectionStoreIterator(FlowIteration)
-
-
action(Connection)
- The action method is run on all connections in this Connection-
Store.
flowDown
private FlowIteration flowDown
- The flowDown object contains specific methods that are neccesary to
run the action method of FlowDownModuleStoreIterator.
- See Also:
- action
FlowDownConnectionStoreIterator
FlowDownConnectionStoreIterator(FlowIteration fd)
- Parameters:
- fd
- The flowDown object contains the specific functions that will be run
on each module. They will have to be passed on to the other FlowDown...
Iterators in order to be known every time the action method of
FlowDownModuleStoreIterator is run.
- See Also:
- FlowIteration, FlowDownModuleStoreIterator, action
action
public void action(Connection c)
- The action method is run on all connections in this Connection-
Store. Use the inconnector of the connection to go to the next
underlaying module.
- Overrides:
- action in class ConnectionStoreIterator
- See Also:
- FlowDownModuleStoreIterator, Module