org.syrup
Interface Port
- All Known Subinterfaces: 
 - InPort, OutPort
 
- All Known Implementing Classes: 
 - InPortImpl, OutPortImpl
 
- public interface Port
 
An input/output port of a Task.
- Author:
 
  - Robbert van Dalen
 
| 
Field Summary | 
static java.lang.String | 
COPYRIGHT
 
            | 
 
| 
Method Summary | 
 boolean | 
isSecond()
 
          Returns true if the Port number is 2.  | 
 Task | 
task()
 
          Returns the associated Task. | 
 
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
 - Constant Field Values
 
isSecond
public boolean isSecond()
- Returns true if the Port number is 2. Returns false otherwise.
- Returns:
 - The Port number.
 
 
 
task
public Task task()
- Returns the associated Task.
- Returns:
 - The associated Task.