public interface FunctionUnitWithOnlyOneInputPort<MessageType>
| Modifier and Type | Method and Description |
|---|---|
void |
operator_lessEqualsThan(org.eclipse.xtext.xbase.lib.Functions.Function0<? extends MessageType> msgClosure)
Flow DSL operator "<=" for forwarding a message value to the one and only input port for being processed.
example: |
void |
operator_lessEqualsThan(MessageType msg)
Flow DSL operator "<=" for forwarding a message value to the one and only input port for being processed.
example: |
InputPort<MessageType> |
theOneAndOnlyInputPort() |
InputPort<MessageType> theOneAndOnlyInputPort()
InputPortvoid operator_lessEqualsThan(MessageType msg)
input <= "some string"
msg - the message to be forwardedvoid operator_lessEqualsThan(org.eclipse.xtext.xbase.lib.Functions.Function0<? extends MessageType> msgClosure)
input <= [ if (state>0) "some string" else "some other string"
msgClosure - the closure to be applied to compute the message to be forwarded