Class AbstractPythonProcessService.ByteArrayReceptionCallback

  • All Implemented Interfaces:
    de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<byte[]>
    Enclosing class:
    AbstractPythonProcessService

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

      Constructors 
      Modifier Constructor Description
      private ByteArrayReceptionCallback​(java.lang.String channel, java.util.Map<java.lang.String,​de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<?>> callbacks)
      Creates a callback instance and registers it in callbacks.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<byte[]> getType()  
      • 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.transport.connectors.ReceptionCallback

        received
    • Constructor Detail

      • ByteArrayReceptionCallback

        private ByteArrayReceptionCallback​(java.lang.String channel,
                                           java.util.Map<java.lang.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 Detail

      • getType

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