Class Receiver.LoggingReceptionCallback<T>
java.lang.Object
de.iip_ecosphere.platform.transport.connectors.AbstractReceptionCallback<T>
de.iip_ecosphere.platform.services.environment.services.Receiver.LoggingReceptionCallback<T>
- Type Parameters:
T- the type of data
- All Implemented Interfaces:
de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<T>
- Enclosing class:
Receiver
public static class Receiver.LoggingReceptionCallback<T>
extends de.iip_ecosphere.platform.transport.connectors.AbstractReceptionCallback<T>
A generic logging reception callback.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.iip_ecosphere.platform.transport.connectors.AbstractReceptionCallback
getType
-
Field Details
-
stream
-
consumer
-
-
Constructor Details
-
LoggingReceptionCallback
Creates the callback.- Parameters:
cls- the class of data to receivestream- the stream to listen toconsumer- the consumer to feed with the data
-
-
Method Details
-
getStream
Returns the name of the stream/channel.- Returns:
- the name of the stream/channel
-
received
-