Uses of Interface
com.yahoo.messagebus.MessageHandler
Packages that use 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
Classes in com.yahoo.messagebus that implement MessageHandlerModifier 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.Methods in com.yahoo.messagebus that return MessageHandlerModifier 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.Methods in com.yahoo.messagebus with parameters of type MessageHandlerModifier 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.Constructors in com.yahoo.messagebus with parameters of type MessageHandlerModifierConstructorDescriptionSequencer
(MessageHandler sender) Constructs a new sequencer on top of the given async sender. -
Uses of MessageHandler in com.yahoo.messagebus.test
Classes in com.yahoo.messagebus.test that implement MessageHandler