Class AbstractStringProcessService<I,O>

Type Parameters:
I - the input data type
O - the output data type
All Implemented Interfaces:
MonitoringService, ParameterConfigurerProvider, Service, ServiceBase

public abstract class AbstractStringProcessService<I,O> extends AbstractProcessService<I,String,String,O>
Implements an abstract asynchronous process-based service which require a String-based communication with the actual service process for a single pair of input-output types, e.g., via JSON.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • AbstractStringProcessService

      protected AbstractStringProcessService(de.iip_ecosphere.platform.transport.serialization.TypeTranslator<I,String> inTrans, de.iip_ecosphere.platform.transport.serialization.TypeTranslator<String,O> outTrans, de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<O> callback, YamlService yaml)
      Creates an instance of the service with the required type translators.
      Parameters:
      inTrans - the input translator
      outTrans - the output translator
      callback - called when data from the service is available
      yaml - the service description
  • Method Details