Interface ReplyHandler

  • All Known Implementing Classes:
    IntermediateSession, MessageBus, 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 Detail

      • handleReply

        void handleReply​(Reply reply)
        This function is called when a reply arrives.
        Parameters:
        reply - The reply that arrived.