public class InputPort<MessageType>
extends java.lang.Object
| Constructor and Description |
|---|
InputPort(java.lang.String name,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super java.lang.Exception> integrationErrorOperation)
Creates a named input port with the given port name without predefined input processing closure.
This is intended to be used inside integration function units where the input processing closure is defined at the constructor by an dedicated wiring operation. |
InputPort(java.lang.String name,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super MessageType> processInputOperation,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super java.lang.Exception> integrationErrorOperation)
Creates a named input port with the given port name.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super MessageType> |
inputProcessingOperation() |
void |
operator_lessEqualsThan(org.eclipse.xtext.xbase.lib.Functions.Function0<? extends MessageType> msgClosure)
Forward operation of the flow DSL.
Forwards a message value computed by the passed closure to the function unit's input port fu.input. E.g.: fu.input <= input value This is typically used to provide an initial value to the function unit's flow this input port belongs to. |
void |
operator_lessEqualsThan(MessageType msg)
Forward operation of the flow DSL.
Forwards a message value to the function unit's input port fu.input. E.g.: fu.input <= input value This is typically used to provide an initial value to the function unit's flow this input port belongs to. |
void |
operator_mappedTo(FunctionUnitWithOnlyOneInputPort<MessageType> integratedFunctionUnit)
Wiring operation of the flow DSL.
Connects function unit own input port input to the one and only one input port of an integrated function unit. E.g.: .input -> fu' This is typically used to forward input messages inside an integration function unit to the an input port of an function unit which is integrated. |
void |
operator_mappedTo(InputPort<MessageType> integratedInputPort)
Wiring operation of the flow DSL.
Connects function unit own input port input to a named input port of an integrated function unit. E.g.: .input -> fu'.input This is typically used to forward input messages inside an integration function unit to the an input port of an function unit which is integrated. |
java.lang.String |
toString() |
public InputPort(java.lang.String name,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super MessageType> processInputOperation,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super java.lang.Exception> integrationErrorOperation)
name - the name of the portprocessInputOperation - the closure to be applied to an input message received over this portintegrationErrorOperation - the closure to be executed if the input processing closure given before is nullpublic InputPort(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 the input processing closure is not definedpublic java.lang.String toString()
toString in class java.lang.Objectpublic void operator_lessEqualsThan(MessageType msg)
public void operator_lessEqualsThan(org.eclipse.xtext.xbase.lib.Functions.Function0<? extends MessageType> msgClosure)
public org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super MessageType> inputProcessingOperation()
public void operator_mappedTo(InputPort<MessageType> integratedInputPort)
public void operator_mappedTo(FunctionUnitWithOnlyOneInputPort<MessageType> integratedFunctionUnit)