Package com.yahoo.messagebus
Interface ReplyHandler
- All Known Implementing Classes:
IntermediateSession
,MessageBus
,QueueAdapter
,Receptor
,RoutingNode
,RPCSend
,RPCSendV2
,SendProxy
,Sequencer
,SourceSession
public interface ReplyHandler
All classes that wants to handle replies that move through the messagebus need to implement this interface. As
opposed to the
MessageHandler
which handles messages as they travel from the sender to the receiver, this
interface is intended for handling replies as they return from the receiver to the sender.- Author:
- Simon Thoresen Hult
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleReply
(Reply reply) This function is called when a reply arrives.
-
Method Details
-
handleReply
This function is called when a reply arrives.- Parameters:
reply
- The reply that arrived.
-