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 Summary
ConstructorsModifierConstructorDescriptionprivateByteArrayReceptionCallback(String channel, Map<String, de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<?>> callbacks) Creates a callback instance and registers it incallbacks. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.transport.connectors.ReceptionCallback
received
-
Constructor Details
-
ByteArrayReceptionCallback
private ByteArrayReceptionCallback(String channel, Map<String, de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<?>> callbacks) Creates a callback instance and registers it incallbacks.- Parameters:
channel- the channel name this callback is reacting oncallbacks- the callbacks (for cleanup inAbstractPythonProcessService.stop().
-
-
Method Details
-
getType
- Specified by:
getTypein interfacede.iip_ecosphere.platform.transport.connectors.ReceptionCallback<byte[]>
-