Class RpcInvoker

java.lang.Object
com.yahoo.jrt.tool.RpcInvoker

public class RpcInvoker extends Object
A generic rpc invoker for use by command line tools
Author:
bratseth
  • Constructor Details

    • RpcInvoker

      public RpcInvoker()
  • Method Details

    • createRequest

      protected Request createRequest(String method, List<String> arguments)
    • invoke

      public void invoke(String connectspec, String method, List<String> arguments)
      Invokes a rpc method without throwing an exception
      Parameters:
      connectspec - the rpc server connection spec
      method - the name of the method to invoke
      arguments - the argument to the method, or null or an empty list if there are no arguments
    • main

      public static void main(String[] args)