Class NamedRPCService

java.lang.Object
com.yahoo.messagebus.network.rpc.NamedRPCService
All Implemented Interfaces:
RPCService

public class NamedRPCService extends Object implements RPCService
  • Constructor Details

    • NamedRPCService

      public NamedRPCService(com.yahoo.jrt.slobrok.api.IMirror mirror, String pattern)
      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

      public RPCServiceAddress 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 interface RPCService
      Returns:
      A concrete service address.