Uses of Interface
com.yahoo.messagebus.ReplyHandler
-
-
Uses of ReplyHandler in com.yahoo.messagebus
Classes in com.yahoo.messagebus that implement ReplyHandler Modifier and Type Class Description class
IntermediateSession
A session which supports receiving, forwarding and acknowledgement of messages.class
MessageBus
A message bus contains the factory for creating sessions to send, receive and forward messages.class
SendProxy
This class owns a message that is being sent by message bus.class
Sequencer
Sequencing is implemented as a message handler that is configured in a source session in that session's chain of linked message handlers.class
SourceSession
A session supporting sending new messages.Methods in com.yahoo.messagebus that return ReplyHandler Modifier and Type Method Description ReplyHandler
IntermediateSession. getReplyHandler()
Returns the reply handler of this session.ReplyHandler
IntermediateSessionParams. getReplyHandler()
Returns the handler to receive incoming replies.ReplyHandler
SourceSession. getReplyHandler()
Returns the reply handler of this sessionReplyHandler
SourceSessionParams. getReplyHandler()
Returns the handler to receive incoming replies.ReplyHandler
CallStack. pop(Routable routable)
Pop a frame from this stack.ReplyHandler
Routable. popHandler()
This is a convenience method for callingCallStack.pop(Routable)
on theCallStack
of this Routable.Methods in com.yahoo.messagebus with parameters of type ReplyHandler Modifier and Type Method Description IntermediateSession
MessageBus. createIntermediateSession(java.lang.String name, boolean broadcastName, MessageHandler msgHandler, ReplyHandler replyHandler)
This is a convenience method to callMessageBus.createIntermediateSession(IntermediateSessionParams)
with default values for theIntermediateSessionParams
object.SourceSession
MessageBus. createSourceSession(ReplyHandler handler)
This is a convenience method to callMessageBus.createSourceSession(SourceSessionParams)
with default values for theSourceSessionParams
object.SourceSession
MessageBus. createSourceSession(ReplyHandler handler, SourceSessionParams params)
This is a convenience method to callMessageBus.createSourceSession(SourceSessionParams)
by first assigning the reply handler to the parameter object.void
MessageBus. deliverReply(Reply reply, ReplyHandler handler)
void
Messenger. deliverReply(Reply reply, ReplyHandler handler)
Convenience method to post aMessenger.Task
that delivers aReply
to aReplyHandler
to the queue of tasks to be executed.void
CallStack. push(ReplyHandler handler, java.lang.Object context)
Push a handler onto the callstack of this message with a given context.void
Routable. pushHandler(ReplyHandler handler)
Pushes the given reply handler onto the call stack of this routable, also storing the current context.IntermediateSessionParams
IntermediateSessionParams. setReplyHandler(ReplyHandler handler)
Sets the handler to recive incoming replies.SourceSessionParams
SourceSessionParams. setReplyHandler(ReplyHandler handler)
Sets the handler to recive incoming replies.
-