Package com.yahoo.messagebus.network.rpc
Class NamedRPCService
java.lang.Object
com.yahoo.messagebus.network.rpc.NamedRPCService
- All Implemented Interfaces:
RPCService
-
Constructor Summary
ConstructorDescriptionNamedRPCService
(com.yahoo.jrt.slobrok.api.IMirror mirror, String pattern) Create a new RPCService backed by the given network and using the given service pattern. -
Method Summary
-
Constructor Details
-
NamedRPCService
Create a new RPCService backed by the given network and using the given service pattern.- Parameters:
mirror
- The naming server to send queries to.pattern
- The pattern to use when querying.
-
-
Method Details
-
resolve
Resolve a concrete address from this service. This service may represent multiple remote sessions, so this will select one that is online.- Specified by:
resolve
in interfaceRPCService
- Returns:
- A concrete service address.
-