Class ChannelTranslatingProtocolAdapter<O,I,CO,CI>

java.lang.Object
de.iip_ecosphere.platform.connectors.types.AbstractProtocolAdapter<O,I,CO,CI>
de.iip_ecosphere.platform.connectors.types.TranslatingProtocolAdapter<O,I,CO,CI>
de.iip_ecosphere.platform.connectors.types.ChannelTranslatingProtocolAdapter<O,I,CO,CI>
Type Parameters:
O - the output type from the underlying machine/platform
I - the input type to the underlying machine/platform
CO - the output type of the connector
CI - the input type of the connector
All Implemented Interfaces:
ChannelProtocolAdapter<O,I,CO,CI>, ProtocolAdapter<O,I,CO,CI>

public class ChannelTranslatingProtocolAdapter<O,I,CO,CI> extends TranslatingProtocolAdapter<O,I,CO,CI> implements ChannelProtocolAdapter<O,I,CO,CI>
Uses two TypeTranslator instances for channeled protocol adaptation.
Author:
Holger Eichelberger, SSE
  • Field Details

    • outputChannel

      private String outputChannel
    • inputChannel

      private String inputChannel
  • Constructor Details

    • ChannelTranslatingProtocolAdapter

      public ChannelTranslatingProtocolAdapter(String outputChannel, ConnectorOutputTypeTranslator<O,CO> outputTranslator, String inputChannel, ConnectorInputTypeTranslator<CI,I> inputTranslator)
      Creates a translating protocol adapter.
      Parameters:
      outputChannel - the name of the input channel. Further semantics is implied/restrictions are imposed by the underlying protocol.
      outputTranslator - the output translator
      inputChannel - the name of the input channel. Further semantics is implied/restrictions are imposed by the underlying protocol.
      inputTranslator - the input translator
  • Method Details