Interface MessageBusVisitorSession.Receiver

  • All Known Implementing Classes:
    MessageBusVisitorSession.MessageBusReceiver
    Enclosing class:
    MessageBusVisitorSession

    public static interface MessageBusVisitorSession.Receiver
    Abstract away notion of destination session into a generic Receiver interface to allow easy mocking. The implementation must be thread safe since reply() can be invoked from an arbitrary thread.
    • Method Detail

      • reply

        void reply​(com.yahoo.messagebus.Reply reply)
      • destroy

        void destroy()
      • getConnectionSpec

        String getConnectionSpec()
        Get connection spec that can be used by other clients to send messages to this Receiver.
        Returns:
        connection spec