public class DRPCClient extends Object implements DistributedRPC.Iface
Constructor and Description |
---|
DRPCClient(String host,
int port) |
DRPCClient(String host,
int port,
Integer timeout) |
public DRPCClient(String host, int port)
public String getHost()
public int getPort()
public String execute(String func, String args) throws org.apache.thrift.TException, DRPCExecutionException
execute
in interface DistributedRPC.Iface
org.apache.thrift.TException
DRPCExecutionException
public void close()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.