public class DRPCClient extends ThriftClient implements DistributedRPC.Iface
_protocol| Constructor and Description |
|---|
DRPCClient(Map conf,
String host,
int port) |
DRPCClient(Map conf,
String host,
int port,
Integer timeout) |
public DRPCClient(Map conf, String host, int port) throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportExceptionpublic String getHost()
public int getPort()
public String execute(String func, String args) throws org.apache.thrift.TException, DRPCExecutionException, AuthorizationException
execute in interface DistributedRPC.Ifaceorg.apache.thrift.TExceptionDRPCExecutionExceptionAuthorizationExceptionpublic DistributedRPC.Client getClient()
Copyright © 2015. All rights reserved.