Uses of Interface
com.yahoo.messagebus.ReplyHandler
-
Packages that use ReplyHandler Package Description com.yahoo.messagebus This package contains the main API of the message bus.com.yahoo.messagebus.network This package declares the API of the network layer required by the message bus.com.yahoo.messagebus.network.rpc This package contains an RPC implementation of the Network interface declared in the com.yahoo.messagebus.network package.com.yahoo.messagebus.routing This package contains all classes and interfaces that concern routing over message bus.com.yahoo.messagebus.test This package contains utility classes for the unit tests in the com.yahoo.messagebus package. -
-
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. -
Uses of ReplyHandler in com.yahoo.messagebus.network
Methods in com.yahoo.messagebus.network with parameters of type ReplyHandler Modifier and Type Method Description void
NetworkOwner. deliverReply(Reply reply, ReplyHandler handler)
All replies that arrive in the network layer is passed through this to unentangle it from the network thread. -
Uses of ReplyHandler in com.yahoo.messagebus.network.rpc
Classes in com.yahoo.messagebus.network.rpc that implement ReplyHandler Modifier and Type Class Description class
RPCSend
Implements the request adapter for method "mbus.send1/mbus.slime".class
RPCSendV1
Implements the request adapter for method "mbus.send1".class
RPCSendV2
Implements the request adapter for method "mbus.slime". -
Uses of ReplyHandler in com.yahoo.messagebus.routing
Classes in com.yahoo.messagebus.routing that implement ReplyHandler Modifier and Type Class Description class
RoutingNode
This class represents a node in the routing tree that is created when a route is resolved.Constructors in com.yahoo.messagebus.routing with parameters of type ReplyHandler Constructor Description RoutingNode(MessageBus mbus, Network net, Resender resender, ReplyHandler handler, Message msg)
Constructs a new instance of this class. -
Uses of ReplyHandler in com.yahoo.messagebus.test
Classes in com.yahoo.messagebus.test that implement ReplyHandler Modifier and Type Class Description class
QueueAdapter
class
Receptor
-