Class SimpleReceiverImpl

java.lang.Object
de.iip_ecosphere.platform.services.environment.AbstractService
de.iip_ecosphere.platform.services.environment.DefaultServiceImpl
iip.impl.SimpleDataReceiverImpl
de.iip_ecosphere.platform.test.apps.serviceImpl.SimpleReceiverImpl
All Implemented Interfaces:
de.iip_ecosphere.platform.services.environment.ParameterConfigurerProvider, de.iip_ecosphere.platform.services.environment.Service, de.iip_ecosphere.platform.services.environment.switching.ServiceBase, iip.interfaces.SimpleDataReceiverInterface

public class SimpleReceiverImpl extends iip.impl.SimpleDataReceiverImpl
A simple receiver implementation just printing out the received data.
Author:
Holger Eichelberger, SSE
  • Field Summary

    Fields inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase

    APPLICATION_SEPARATOR, DEFAULT_APPLICATION_INSTANCE_ID

    Fields inherited from interface iip.interfaces.SimpleDataReceiverInterface

    SERVICE_ID
  • Constructor Summary

    Constructors
    Constructor
    Description
    Fallback constructor.
    SimpleReceiverImpl(String serviceId, InputStream ymlFile)
    Creates a service instance from a service id and a YAML artifact.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    attachFeedbackIngestor(de.iip_ecosphere.platform.services.environment.DataIngestor<iip.datatypes.Feedback> ingestor)
     
    void
    processRec1(iip.datatypes.Rec1 data)
     

    Methods inherited from class iip.impl.SimpleDataReceiverImpl

    createFeedback, getParameterConfigurer, getParameterNames, hasFeedbackIngestor, hasFeedbackIngestorCount, ingestFeedback, registerParameterConfigurers

    Methods inherited from class de.iip_ecosphere.platform.services.environment.DefaultServiceImpl

    migrate, switchTo, update

    Methods inherited from class de.iip_ecosphere.platform.services.environment.AbstractService

    activate, addConfigurer, addConfigurer, addConfigurer, addTypeSubstitution, createGenericInstance, createGenericInstance, createGenericInstanceByPlugin, createGenericMultiInstance, createGenericMultiInstance, createGenericMultiInstanceByPlugin, createInstance, createInstance, createInstance, createInstanceByPlugin, getArg, getDescription, getId, getKind, getName, getNetMgtKeyAddress, getResourceAsStream, getState, getStringArg, getSubstitutedType, getTypeCreator, getTypeSubstitutions, getVersion, initializeFrom, isDeployable, isTopLevel, notifyReconfigured, passivate, reconf, reconfigure, reconfigure, rollbackReconfigurationOnFailure, setLibJars, setState, start, stop, transferData

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface de.iip_ecosphere.platform.services.environment.Service

    activate, addTypeSubstitution, createType, createType, getDescription, getKind, getName, getNetMgtKeyAddress, getSubstitutedType, getTypeCreator, getTypeSubstitutions, getVersion, isDeployable, isTopLevel, migrate, passivate, reconfigure, switchTo, update

    Methods inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase

    getId, getState, setState
  • Constructor Details

    • SimpleReceiverImpl

      public SimpleReceiverImpl()
      Fallback constructor.
    • SimpleReceiverImpl

      public SimpleReceiverImpl(String serviceId, InputStream ymlFile)
      Creates a service instance from a service id and a YAML artifact.
      Parameters:
      serviceId - the service id
      ymlFile - the YML file containing the YAML artifact with the service descriptor
  • Method Details

    • processRec1

      public void processRec1(iip.datatypes.Rec1 data)
    • attachFeedbackIngestor

      public void attachFeedbackIngestor(de.iip_ecosphere.platform.services.environment.DataIngestor<iip.datatypes.Feedback> ingestor)
      Specified by:
      attachFeedbackIngestor in interface iip.interfaces.SimpleDataReceiverInterface
      Overrides:
      attachFeedbackIngestor in class iip.impl.SimpleDataReceiverImpl