Class Client

java.lang.Object
org.apache.tvm.rpc.Client

public class Client extends Object
  • Constructor Details

    • Client

      public Client()
  • Method Details

    • connect

      public static RPCSession connect(String url, int port, String key)
      Connect to RPC Server.
      Parameters:
      url - The url of the host.
      port - The port to connect to.
      key - Additional key to match server.
      Returns:
      The connected session.
    • connect

      public static RPCSession connect(String url, int port)
      Connect to RPC Server.
      Parameters:
      url - The url of the host.
      port - The port to connect to.
      Returns:
      The connected session.