Class RpcInvoker


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

      • RpcInvoker

        public RpcInvoker()
    • Method Detail

      • 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)