|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.syrup.helpers.LinkImpl
A generic Link Implementation.
| Constructor Summary | |
LinkImpl(OutPort f,
InPort t,
Data c)
Constructor for the LinkImpl object |
|
| Method Summary | |
Data |
content()
Returns the content held by the Link. |
OutPort |
from()
Returns the OutPort of the Link. |
InPort |
to()
Returns the InPort of the Link. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LinkImpl(OutPort f,
InPort t,
Data c)
f - The OutputPort from.t - The InputPort to.c - The Data held by the Link.| Method Detail |
public OutPort from()
Link
from in interface Linkpublic InPort to()
Link
to in interface Linkpublic Data content()
Link
content in interface Linkpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||