Uses of Interface
com.yahoo.messagebus.MessageHandler
Package
Description
This package contains the main API of the message bus.
This package contains utility classes for the unit tests in the com.yahoo.messagebus package.
-
Uses of MessageHandler in com.yahoo.messagebus
Modifier and TypeClassDescriptionfinal class
A session supporting receiving and replying to messages.final class
A session which supports receiving, forwarding and acknowledging messages.class
A message bus contains the factory for creating sessions to send, receive and forward messages.class
This class owns a message that is being sent by message bus.class
Sequencing is implemented as a message handler that is configured in a source session in that session's chain of linked message handlers.Modifier and TypeMethodDescriptionDestinationSession.getMessageHandler()
Returns the message handler of this session.DestinationSessionParams.getMessageHandler()
Returns the handler to receive incoming messages.IntermediateSession.getMessageHandler()
Returns the message handler of this sessionIntermediateSessionParams.getMessageHandler()
Returns the handler to receive incoming messages.Modifier and TypeMethodDescriptionMessageBus.createDestinationSession
(String name, boolean broadcastName, MessageHandler handler) This is a convenience method to callMessageBus.createDestinationSession(DestinationSessionParams)
with default values for theDestinationSessionParams
object.MessageBus.createIntermediateSession
(String name, boolean broadcastName, MessageHandler msgHandler, ReplyHandler replyHandler) This is a convenience method to callMessageBus.createIntermediateSession(IntermediateSessionParams)
with default values for theIntermediateSessionParams
object.void
Messenger.deliverMessage
(Message msg, MessageHandler handler) Convenience method to post aMessenger.Task
that delivers aMessage
to aMessageHandler
to the queue of tasks to be executed.DestinationSessionParams.setMessageHandler
(MessageHandler handler) Sets the handler to recive incoming messages.IntermediateSessionParams.setMessageHandler
(MessageHandler handler) Sets the handler to recive incoming messages.ModifierConstructorDescriptionSequencer
(MessageHandler sender) Constructs a new sequencer on top of the given async sender. -
Uses of MessageHandler in com.yahoo.messagebus.test