Package com.yahoo.documentapi.messagebus
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
destroy()
java.lang.String
getConnectionSpec()
Get connection spec that can be used by other clients to send messages to this Receiver.void
reply(com.yahoo.messagebus.Reply reply)
-