Interface ConnectorOutputTypeTranslator<S,T>
- Type Parameters:
S- the source type (seeTypeTranslator)T- the target type (seeTypeTranslator)
- All Superinterfaces:
ModelAccessProvider,de.iip_ecosphere.platform.transport.serialization.OutputTypeTranslator<S,T>
- All Known Implementing Classes:
AbstractConnectorOutputTypeTranslator,ChanneledConnectorOutputTypeAdapter,ConnectorOutputTypeAdapter
public interface ConnectorOutputTypeTranslator<S,T>
extends de.iip_ecosphere.platform.transport.serialization.OutputTypeTranslator<S,T>, ModelAccessProvider
Refines the
TypeTranslator for the use with machine connectors.- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.connectors.model.ModelAccessProvider
ModelAccessProvider.IOModelAccessFunction, ModelAccessProvider.IOVoidFunction -
Method Summary
Modifier and TypeMethodDescriptionReturns the source type.Returns the target type.voidCalled to initialize the model access, e.g., to setup notifications.Methods inherited from interface de.iip_ecosphere.platform.connectors.model.ModelAccessProvider
getModelAccess, setModelAccessMethods inherited from interface de.iip_ecosphere.platform.transport.serialization.OutputTypeTranslator
to
-
Method Details
-
initializeModelAccess
Called to initialize the model access, e.g., to setup notifications. Called only, when the connector is connected.- Throws:
IOException- in case the initialization fails, e.g., monitors cannot be set up
-
getSourceType
Returns the source type.- Returns:
- the source type
-
getTargetType
Returns the target type.- Returns:
- the target type
-