public class RPCMessageBus extends NetworkMessageBus
Constructor and Description |
---|
RPCMessageBus(List<Protocol> protocols,
com.yahoo.messagebus.network.rpc.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.
|
RPCMessageBus(MessageBusParams mbusParams,
com.yahoo.messagebus.network.rpc.RPCNetworkParams rpcParams,
String routingCfgId)
Constructs a new instance of this class.
|
RPCMessageBus(Protocol protocol,
String configId)
This constructor requires a single protocol that it is to support, as well as the host application's config
identifier.
|
Modifier and Type | Method and Description |
---|---|
boolean |
destroy()
Sets the destroyed flag to true.
|
com.yahoo.messagebus.network.rpc.RPCNetwork |
getRPCNetwork()
Returns the network of this as a RPCNetwork
|
getMessageBus, getNetwork
public RPCMessageBus(MessageBusParams mbusParams, com.yahoo.messagebus.network.rpc.RPCNetworkParams rpcParams, String routingCfgId)
mbusParams
- A complete set of message bus parameters.rpcParams
- A complete set of network parameters.routingCfgId
- The config id for message bus routing specs.public RPCMessageBus(List<Protocol> protocols, com.yahoo.messagebus.network.rpc.RPCNetworkParams rpcParams, String routingCfgId)
protocols
- An array of known protocols.rpcParams
- A complete set of network parameters.routingCfgId
- The config id for message bus routing specs.public RPCMessageBus(Protocol protocol, String configId)
protocol
- An instance of the known protocol.configId
- The host application's config id. This will be used to resolve the service name prefix used when
registering with the slobrok. Using null here is allowed, but will not allow intermediate- or
destination sessions to be routed to.public boolean destroy()
destroy
in class NetworkMessageBus
public com.yahoo.messagebus.network.rpc.RPCNetwork getRPCNetwork()
Copyright © 2018. All rights reserved.