public static class DistributedRPCInvocations.AsyncClient extends org.apache.thrift.async.TAsyncClient implements DistributedRPCInvocations.AsyncIface
Modifier and Type | Class and Description |
---|---|
static class |
DistributedRPCInvocations.AsyncClient.Factory |
static class |
DistributedRPCInvocations.AsyncClient.failRequest_call |
static class |
DistributedRPCInvocations.AsyncClient.fetchRequest_call |
static class |
DistributedRPCInvocations.AsyncClient.result_call |
Constructor and Description |
---|
AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport) |
Modifier and Type | Method and Description |
---|---|
void |
failRequest(String id,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
fetchRequest(String functionName,
org.apache.thrift.async.AsyncMethodCallback<DRPCRequest> resultHandler) |
void |
result(String id,
String result,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
public void result(String id, String result, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
result
in interface DistributedRPCInvocations.AsyncIface
org.apache.thrift.TException
public void fetchRequest(String functionName, org.apache.thrift.async.AsyncMethodCallback<DRPCRequest> resultHandler) throws org.apache.thrift.TException
fetchRequest
in interface DistributedRPCInvocations.AsyncIface
org.apache.thrift.TException
public void failRequest(String id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
failRequest
in interface DistributedRPCInvocations.AsyncIface
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.