Uses of Interface
com.yahoo.messagebus.Protocol
Package
Description
This package contains the main API of the message bus.
This package declares the API of the network layer required by the message bus.
This package contains utility classes for the unit tests in the com.yahoo.messagebus.network.rpc package.
This package contains utility classes for the unit tests in the com.yahoo.messagebus package.
-
Uses of Protocol in com.yahoo.messagebus
Modifier and TypeMethodDescriptionMessageBus.getProtocol
(com.yahoo.text.Utf8Array name) MessageBusParams.getProtocol
(int i) Returns the protocol at the given index.ProtocolRepository.getProtocol
(String name) Returns the protocol whose name matches the given argument.Modifier and TypeMethodDescriptionMessageBusParams.addProtocol
(Protocol protocol) Adds a new protocol to this.void
MessageBus.putProtocol
(Protocol protocol) Adds a protocol to the internal repository of protocols, replacing any previous instance of the protocol and clearing the associated routing policy cache.void
ProtocolRepository.putProtocol
(Protocol protocol) Registers a protocol with this repository.Modifier and TypeMethodDescriptionMessageBusParams.addProtocols
(List<Protocol> protocols) Registers multiple protocols with this by callingMessageBusParams.addProtocol(Protocol)
multiple times.ModifierConstructorDescriptionRPCMessageBus
(Protocol protocol, String configId) This constructor requires a single protocol that it is to support, as well as the host application's config identifier.ModifierConstructorDescriptionMessageBus
(Network net, List<Protocol> protocols) Convenience constructor that proxiesMessageBus(Network, MessageBusParams)
by adding the given protocols to a defaultMessageBusParams
object.RPCMessageBus
(List<Protocol> protocols, RPCNetworkParams rpcParams, String routingCfgId) This constructor requires an array of protocols that it is to support, as well as the host application's config identifier. -
Uses of Protocol in com.yahoo.messagebus.network
Modifier and TypeMethodDescriptionNetworkMultiplexer.getProtocol
(com.yahoo.text.Utf8Array name) NetworkOwner.getProtocol
(com.yahoo.text.Utf8Array name) All messages are sent across the network with its accompanying protocol name so that it can be decoded at the receiving end. -
Uses of Protocol in com.yahoo.messagebus.network.rpc.test
ModifierConstructorDescriptionTestServer
(String name, RoutingTableSpec table, com.yahoo.jrt.slobrok.server.Slobrok slobrok, Protocol protocol) Create a new test server. -
Uses of Protocol in com.yahoo.messagebus.test