public class DRPCClient extends ThriftClient implements DistributedRPC.Iface
_protocol, _retryForever| Constructor and Description | 
|---|
DRPCClient(Map conf,
          String host,
          int port)  | 
DRPCClient(Map conf,
          String host,
          int port,
          Integer timeout)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
execute(String func,
       String args)  | 
DistributedRPC.Client | 
getClient()  | 
String | 
getHost()  | 
int | 
getPort()  | 
close, reconnect, transportpublic 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 © 2022 The Apache Software Foundation. All Rights Reserved.