Package com.yahoo.messagebus
@ExportPackage
@PublicApi
package com.yahoo.messagebus
This package contains the main API of the message bus. The typical user will instantiate
RPCMessageBus
.-
ClassDescriptionThis is an implementation of the
ThrottlePolicy
that passes all requests (no real throttling).An wrapper around a stack of frame objects that is aware of the message that owns it.This class implements subscription to message bus config.This class declares those methods required to be a handler for an instance of theConfigAgent
class.Something which can be connected to a network when ready to receive incoming requests.A session supporting receiving and replying to messages.To facilitate several configuration parameters to theMessageBus.createDestinationSession(DestinationSessionParams)
, all parameters are held by this class.This is an implementation of theThrottlePolicy
that offers dynamic limits to the number of pending messages aSourceSession
is allowed to have.The empty reply is the only concrete implementation of a message that is offered by the MessageBus.This class implements the pair (code, message) that is used in Reply to hold errors.This interface contains the reserved error codes that are used for errors that occur within the messagebus.A session which supports receiving, forwarding and acknowledging messages.To facilitate several configuration parameters to theMessageBus.createIntermediateSession(IntermediateSessionParams)
, all parameters are held by this class.A message is a child of Routable, it is not a reply, and it has a sequencing identifier.A message bus contains the factory for creating sessions to send, receive and forward messages.This class represents the root node of messagebus Copyright Yahoo.This class represents messagebus.routingtable[]This class represents messagebus.routingtable[].hop[]This class represents messagebus.routingtable[].route[]To facilitate several configuration parameters to theMessageBus
constructor, all parameters are held by this class.All classes that wants to handle messages that move through the messagebus need to implement this interface.This class implements a single thread that is able to process arbitrary tasks.Defines the required interface for tasks to be posted to this worker.The combination of a messagebus and a network over which it may send data.Interface implemented by the concrete application message protocol.Implements a thread-safe repository for protocols and their routing policies.Throttling policy that throttles sending based on a desired rate.A reply is a response to a message that has been sent throught the messagebus.All classes that wants to handle replies that move through the messagebus need to implement this interface.Information on the outcome of initiating a send or forward on a session.Superclass for objects that can be either explicitly (Message) or implicitly (Reply) routed.The RPCMessageBus class wraps a MessageBus with an RPCNetwork and handles reconfiguration.This class owns a message that is being sent by message bus.Sequencing is implemented as a message handler that is configured in a source session in that session's chain of linked message handlers.A session supporting sending new messages.To facilitate several configuration parameters to theMessageBus.createSourceSession(ReplyHandler, SourceSessionParams)
, all parameters are held by this class.This is an implementation of theThrottlePolicy
that offers static limits to the amount of pending data aSourceSession
is allowed to have.An implementation of this interface is used bySourceSession
to throttle output.A Trace object contains ad-hoc string notes organized in a strict-loose tree.This class defines theTrace
levels used by message bus.This class contains the actual trace information of aTrace
object.