Interface ChanneledInputTypeTranslator<T,S>
-
- Type Parameters:
T- the target typeS- the source type
- All Superinterfaces:
de.iip_ecosphere.platform.transport.serialization.InputTypeTranslator<T,S>
- All Known Subinterfaces:
ChanneledConnectorOutputTypeAdapter.ChanneledSerializer<T>
public interface ChanneledInputTypeTranslator<T,S> extends de.iip_ecosphere.platform.transport.serialization.InputTypeTranslator<T,S>ExtendedInputTypeTranslatorto receive the reception channel including a delegating default implementation of the serializer 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 Sfrom(java.lang.String channel, T data)Deserializes a target value into a source value ("input from external").default Sfrom(T data)
-
-
-
Method Detail
-
from
S from(java.lang.String channel, T data) throws java.io.IOException
Deserializes a target value into a source value ("input from external").- Parameters:
channel- the channel the data came fromdata- the data to be translated back- Returns:
- the serialized object
- Throws:
java.io.IOException- in case that serialization fails
-
-