backtype.storm.utils
Class DRPCClient

java.lang.Object
  extended by backtype.storm.utils.DRPCClient
All Implemented Interfaces:
DistributedRPC.Iface

public class DRPCClient
extends Object
implements DistributedRPC.Iface


Constructor Summary
DRPCClient(String host, int port)
           
DRPCClient(String host, int port, Integer timeout)
           
 
Method Summary
 void close()
           
 String execute(String func, String args)
           
 String getHost()
           
 int getPort()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DRPCClient

public DRPCClient(String host,
                  int port,
                  Integer timeout)

DRPCClient

public DRPCClient(String host,
                  int port)
Method Detail

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.