Interface ChanneledConnectorOutputTypeTranslator<S,T>
-
- Type Parameters:
S- the source type (seeTypeTranslator)T- the target type (seeTypeTranslator)
- All Superinterfaces:
de.iip_ecosphere.platform.transport.serialization.OutputTypeTranslator<S,T>
- All Known Implementing Classes:
ChanneledConnectorOutputTypeAdapter
public interface ChanneledConnectorOutputTypeTranslator<S,T> extends de.iip_ecosphere.platform.transport.serialization.OutputTypeTranslator<S,T>Refines theTypeTranslatorfor the use with channeled connectors and actual channel names including a delegating default implementation of the type translator method passing in thedefault channel name.- Author:
- Holger Eichelberger, SSE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Tto(java.lang.String channel, S source)Translates a source value into a target value ("output to external").default Tto(S source)
-
-
-
Method Detail
-
to
T to(java.lang.String channel, S source) throws java.io.IOException
Translates a source value into a target value ("output to external").- Parameters:
channel- the channel the value was received onsource- the source value to be translated- Returns:
- the target value
- Throws:
java.io.IOException- in case that translation fails
-
-