public class DRPCInvocationsClient extends Object implements DistributedRPCInvocations.Iface
Constructor and Description |
---|
DRPCInvocationsClient(String host,
int port) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
failRequest(String id) |
DRPCRequest |
fetchRequest(String func) |
String |
getHost() |
int |
getPort() |
void |
result(String id,
String result) |
public DRPCInvocationsClient(String host, int port)
public String getHost()
public int getPort()
public void result(String id, String result) throws org.apache.thrift.TException
result
in interface DistributedRPCInvocations.Iface
org.apache.thrift.TException
public DRPCRequest fetchRequest(String func) throws org.apache.thrift.TException
fetchRequest
in interface DistributedRPCInvocations.Iface
org.apache.thrift.TException
public void failRequest(String id) throws org.apache.thrift.TException
failRequest
in interface DistributedRPCInvocations.Iface
org.apache.thrift.TException
public void close()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.