Class AbstractPythonProcessService.ByteArrayReceptionCallback

java.lang.Object
de.iip_ecosphere.platform.services.environment.AbstractPythonProcessService.ByteArrayReceptionCallback
All Implemented Interfaces:
de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<byte[]>
Enclosing class:
AbstractPythonProcessService

private abstract static class AbstractPythonProcessService.ByteArrayReceptionCallback extends Object implements de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<byte[]>
Self-registering abstract byte array reception callback.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • ByteArrayReceptionCallback

      private ByteArrayReceptionCallback(String channel, Map<String,de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<?>> callbacks)
      Creates a callback instance and registers it in callbacks.
      Parameters:
      channel - the channel name this callback is reacting on
      callbacks - the callbacks (for cleanup in AbstractPythonProcessService.stop().
  • Method Details

    • getType

      public Class<byte[]> getType()
      Specified by:
      getType in interface de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<byte[]>