This package contains the main API of the message bus. The typical user will instantiate
Interface Summary Interface Description ConfigHandlerThis class declares those methods required to be a handler for an instance of the
MessageBus.SendBlockedMessages MessagebusConfig.Producer MessageHandlerAll classes that wants to handle messages that move through the messagebus need to implement this interface. Messenger.TaskDefines the required interface for tasks to be posted to this worker. ProtocolInterface implemented by the concrete application message protocol. ReplyHandlerAll classes that wants to handle replies that move through the messagebus need to implement this interface. ThrottlePolicyAn implementation of this interface is used by
SourceSessionto throttle output.
Class Summary Class Description AllPassThrottlePolicyThis is an implementation of the
ThrottlePolicythat passes all requests (no real throttling).
CallStackAn wrapper around a stack of frame objects that is aware of the message that owns it. ConfigAgentThis class implements subscription to message bus config. DestinationSessionA session supporting receiving and replying to messages. DestinationSessionParamsTo facilitate several configuration parameters to the
MessageBus.createDestinationSession(DestinationSessionParams), all parameters are held by this class.
DynamicThrottlePolicy EmptyReplyThe empty reply is the only concrete implementation of a message that is offered by the MessageBus. ErrorThis class implements the pair (code, message) that is used in Reply to hold errors. ErrorCodeThis interface contains the reserved error codes that are used for errors that occur within the messagebus. IntermediateSessionA session which supports receiving, forwarding and acknowledgement of messages. IntermediateSessionParamsTo facilitate several configuration parameters to the
MessageBus.createIntermediateSession(IntermediateSessionParams), all parameters are held by this class.
MessageA message is a child of Routable, it is not a reply, and it has a sequencing identifier. MessageBusA message bus contains the factory for creating sessions to send, receive and forward messages. MessagebusConfigThis class represents the root node of messagebus Copyright 2017 Yahoo Holdings. MessagebusConfig.Builder MessagebusConfig.RoutingtableThis class represents messagebus.routingtable MessagebusConfig.Routingtable.Builder MessagebusConfig.Routingtable.HopThis class represents messagebus.routingtable.hop MessagebusConfig.Routingtable.Hop.Builder MessagebusConfig.Routingtable.RouteThis class represents messagebus.routingtable.route MessagebusConfig.Routingtable.Route.Builder MessageBusParamsTo facilitate several configuration parameters to the
MessageBusconstructor, all parameters are held by this class.
MessengerThis class implements a single thread that is able to process arbitrary tasks. NetworkMessageBusThe combination of a messagebus and a network over which it may send data. ProtocolRepositoryImplements a thread-safe repository for protocols and their routing policies. RateThrottlingPolicyThrottling policy that throttles sending based on a desired rate. ReplyA reply is a response to a message that has been sent throught the messagebus. ResultInformation on the outcome of initiating a send or forward on a session. RoutableSuperclass for objects that can be either explicitly (Message) or implicitly (Reply) routed. RPCMessageBusThe RPCMessageBus class wraps a MessageBus with an RPCNetwork and handles reconfiguration. SendProxyThis class owns a message that is being sent by message bus. SequencerSequencing is implemented as a message handler that is configured in a source session in that session's chain of linked message handlers. SourceSessionA session supporting sending new messages. SourceSessionParamsTo facilitate several configuration parameters to the
MessageBus.createSourceSession(ReplyHandler, SourceSessionParams), all parameters are held by this class.
StaticThrottlePolicy TraceA Trace object contains ad-hoc string notes organized in a strict-loose tree. TraceLevelThis class defines the
Tracelevels used by message bus.
TraceNodeThis class contains the actual trace information of a