Package org.apache.tvm.rpc
Class Client
java.lang.Object
org.apache.tvm.rpc.Client
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RPCSession
Connect to RPC Server.static RPCSession
Connect to RPC Server.
-
Constructor Details
-
Client
public Client()
-
-
Method Details
-
connect
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
Connect to RPC Server.- Parameters:
url
- The url of the host.port
- The port to connect to.- Returns:
- The connected session.
-