Uses of Interface
com.yahoo.messagebus.Protocol
Packages that use 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
Methods in com.yahoo.messagebus that return ProtocolModifier 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.Methods in com.yahoo.messagebus with parameters of type ProtocolModifier 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.Method parameters in com.yahoo.messagebus with type arguments of type ProtocolModifier and TypeMethodDescriptionMessageBusParams.addProtocols
(List<Protocol> protocols) Registers multiple protocols with this by callingMessageBusParams.addProtocol(Protocol)
multiple times.Constructors in com.yahoo.messagebus with parameters of type ProtocolModifierConstructorDescriptionRPCMessageBus
(Protocol protocol, String configId) This constructor requires a single protocol that it is to support, as well as the host application's config identifier.Constructor parameters in com.yahoo.messagebus with type arguments of type ProtocolModifierConstructorDescriptionMessageBus
(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
Methods in com.yahoo.messagebus.network that return ProtocolModifier 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
Constructors in com.yahoo.messagebus.network.rpc.test with parameters of type ProtocolModifierConstructorDescriptionTestServer
(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
Classes in com.yahoo.messagebus.test that implement Protocol