public class OutputPort<MessageType>
extends java.lang.Object
| Constructor and Description |
|---|
OutputPort(java.lang.String name,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super java.lang.Exception> integrationErrorOperation)
Creates a named output port with the given port name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
operator_lessEqualsThan(org.eclipse.xtext.xbase.lib.Functions.Function0<? extends MessageType> msgClosure)
Forward operation of the flow DSL.
Forwards a message value to an function unit own output port fu.output. E.g.: .output <= [closure computing output value] This is typically used inside the implementation of function unit to forward results of the function unit's computation to outside over outut ports. |
void |
operator_lessEqualsThan(MessageType msg)
Forward operation of the flow DSL.
Forwards a message value to an function unit own output port fu.output. E.g.: .output <= output value This is typically used inside the implementation of function unit to forward results of the function unit's computation to outside over outut ports. |
void |
operator_mappedTo(FunctionUnitWithOnlyOneInputPort<MessageType> foreignFu)
Wiring operation of the flow DSL.
Connects function unit own output port fu.output to an foreign function unit with one and only one input port. E.g.: fu.output -> fu' |
void |
operator_mappedTo(InputPort<MessageType> foreignInputPort)
Wiring operation of the flow DSL.
Connects function unit own output port fu.output to a named input port of a foreign function unit. E.g.: fu.output -> fu'.input |
void |
operator_mappedTo(OutputPort<MessageType> ownOutputPort)
Wiring operation of the flow DSL.
Connects function unit own output port fu.output to an anonymous closure (which may have side effects). E.g.: fu.output -> fu' |
void |
operator_mappedTo(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super MessageType> operation)
Wiring operation of the flow DSL.
Connects function unit own output port fu.output to an anonymous closure (which may have side effects). E.g.: fu.output -> [closure] |
java.lang.String |
toString() |
public OutputPort(java.lang.String name,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super java.lang.Exception> integrationErrorOperation)
name - the name of the portintegrationErrorOperation - the closure to be executed if no foreign input port at all has been bound to this output portpublic java.lang.String toString()
toString in class java.lang.Objectpublic void operator_mappedTo(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super MessageType> operation)
public void operator_mappedTo(FunctionUnitWithOnlyOneInputPort<MessageType> foreignFu)
public void operator_mappedTo(InputPort<MessageType> foreignInputPort)
public void operator_mappedTo(OutputPort<MessageType> ownOutputPort)
public void operator_lessEqualsThan(MessageType msg)
public void operator_lessEqualsThan(org.eclipse.xtext.xbase.lib.Functions.Function0<? extends MessageType> msgClosure)