backtype.storm.drpc
Class DRPCInvocationsClient
java.lang.Object
backtype.storm.drpc.DRPCInvocationsClient
- All Implemented Interfaces:
- DistributedRPCInvocations.Iface
public class DRPCInvocationsClient
- extends Object
- implements DistributedRPCInvocations.Iface
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DRPCInvocationsClient
public DRPCInvocationsClient(String host,
int port)
getHost
public String getHost()
getPort
public int getPort()
result
public void result(String id,
String result)
throws org.apache.thrift.TException
- Specified by:
result in interface DistributedRPCInvocations.Iface
- Throws:
org.apache.thrift.TException
fetchRequest
public DRPCRequest fetchRequest(String func)
throws org.apache.thrift.TException
- Specified by:
fetchRequest in interface DistributedRPCInvocations.Iface
- Throws:
org.apache.thrift.TException
failRequest
public void failRequest(String id)
throws org.apache.thrift.TException
- Specified by:
failRequest in interface DistributedRPCInvocations.Iface
- Throws:
org.apache.thrift.TException
close
public void close()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.