Interface ConnectorOutputTypeTranslator<S,T>

Type Parameters:
S - the source type (see TypeTranslator)
T - the target type (see TypeTranslator)
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
  • Method Details

    • initializeModelAccess

      void initializeModelAccess() throws IOException
      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

      Class<? extends S> getSourceType()
      Returns the source type.
      Returns:
      the source type
    • getTargetType

      Class<? extends T> getTargetType()
      Returns the target type.
      Returns:
      the target type