Uses of Interface
com.yahoo.messagebus.Protocol
-
Packages that use Protocol 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.test This package contains utility classes for the unit tests in the com.yahoo.messagebus.network.rpc package.com.yahoo.messagebus.test 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 Protocol Modifier and Type Method Description Protocol
MessageBus. getProtocol(com.yahoo.text.Utf8Array name)
Protocol
MessageBus. getProtocol(com.yahoo.text.Utf8String name)
Protocol
MessageBusParams. getProtocol(int i)
Returns the protocol at the given index.Protocol
ProtocolRepository. getProtocol(java.lang.String name)
Returns the protocol whose name matches the given argument.Methods in com.yahoo.messagebus with parameters of type Protocol Modifier and Type Method Description MessageBusParams
MessageBusParams. 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 Protocol Modifier and Type Method Description MessageBusParams
MessageBusParams. addProtocols(java.util.List<Protocol> protocols)
Registers multiple protocols with this by callingMessageBusParams.addProtocol(Protocol)
multiple times.Constructors in com.yahoo.messagebus with parameters of type Protocol Constructor Description RPCMessageBus(Protocol protocol, java.lang.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 Protocol Constructor Description MessageBus(Network net, java.util.List<Protocol> protocols)
Convenience constructor that proxiesMessageBus(Network, MessageBusParams)
by adding the given protocols to a defaultMessageBusParams
object.RPCMessageBus(java.util.List<Protocol> protocols, RPCNetworkParams rpcParams, java.lang.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 Protocol Modifier and Type Method Description Protocol
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 Protocol Constructor Description TestServer(java.lang.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 Modifier and Type Class Description class
SimpleProtocol
-