Class GenericMessageProducer.Callback
java.lang.Object
de.iip_ecosphere.platform.transport.spring.binder.generic.GenericMessageProducer.Callback
- All Implemented Interfaces:
GenericClient.ArrivedCallback
- Enclosing class:
GenericMessageProducer
private class GenericMessageProducer.Callback
extends Object
implements GenericClient.ArrivedCallback
The topic-specific reception callback.
- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmessageArrived(String topic, byte[] payload) This method is called when a message arrives from the server.
-
Constructor Details
-
Callback
private Callback()
-
-
Method Details
-
messageArrived
Description copied from interface:GenericClient.ArrivedCallbackThis method is called when a message arrives from the server.- Specified by:
messageArrivedin interfaceGenericClient.ArrivedCallback- Parameters:
topic- name of the topic on the message was published topayload- the payload of the message
-