ptolemy.kernel.util
Interface Flowable

All Known Implementing Classes:
Clone, Configure, Event, Execute, FmvState, GTEvent, InitModel, InitModelWithContainer, InputModel, ListDirectory, Match, OutputModel, Plot, ReadModel, ReceiveInput, Report, SetTableau, Sleep, State, StateMatcher, Stop, Test, Transform, View, WriteModel

public interface Flowable

An interface for objects that have one port that serves as an input and one that serves as an output. This interface in a convenience so that graphical editors that don't care about specific ports can nonetheless render flows through the component.

Since:
Ptolemy II 8.0
Version:
$Id: Flowable.java 57046 2010-01-27 23:35:53Z cxh $
Author:
Edward A. Lee
See Also:
ChangeRequest
Accepted Rating:
Red (neuendor)
Proposed Rating:
Yellow (eal)

Method Summary
 ComponentPort getIncomingPort()
          Return the incoming port.
 ComponentPort getOutgoingPort()
          Return the outgoing port.
 

Method Detail

getIncomingPort

ComponentPort getIncomingPort()
Return the incoming port.

Returns:
The incoming port.

getOutgoingPort

ComponentPort getOutgoingPort()
Return the outgoing port.

Returns:
The outgoing port.