Uses of Interface
com.yahoo.messagebus.Protocol
-
-
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(com.yahoo.messagebus.network.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, com.yahoo.messagebus.network.rpc.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.
-