org.syrup.helpers
Class EndPoint

java.lang.Object
  extended byorg.syrup.helpers.EndPoint

public class EndPoint
extends java.lang.Object

Temporary data structure to aid the creation of WorkFlows. It identifies one end of a Link and the Data held by that Link. The orientation (ingoing , outgoing) is not specified but should be maintained at the meta-level to correctly indentify the corresponding Link end.

Author:
Robbert van Dalen

Field Summary
 Data data
          The Data held by the associated Link.
 boolean port
          The port number of the PTask this EndPoint connects to.
 PTask task
          The PTask that identifies the EndPoint.
 
Constructor Summary
EndPoint(PTask t, boolean p, Data d)
          Constructor for the EndPoint object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

task

public final PTask task
The PTask that identifies the EndPoint.


port

public final boolean port
The port number of the PTask this EndPoint connects to.


data

public final Data data
The Data held by the associated Link.

Constructor Detail

EndPoint

public EndPoint(PTask t,
                boolean p,
                Data d)
Constructor for the EndPoint object

Parameters:
t - The PTask that identifies the EndPoint.
p - The port number of the PTask this EndPoint connects to.
d - The Data held by the associated Link.