backtype.storm.utils
Class DRPCClient
java.lang.Object
backtype.storm.utils.DRPCClient
- All Implemented Interfaces:
- DistributedRPC.Iface
public class DRPCClient
- extends Object
- implements DistributedRPC.Iface
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DRPCClient
public DRPCClient(String host,
int port,
Integer timeout)
DRPCClient
public DRPCClient(String host,
int port)
getHost
public String getHost()
getPort
public int getPort()
execute
public String execute(String func,
String args)
throws org.apache.thrift.TException,
DRPCExecutionException
- Specified by:
execute in interface DistributedRPC.Iface
- Throws:
org.apache.thrift.TException
DRPCExecutionException
close
public void close()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.