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 resultHandler) | 
| void | fetchRequest(String functionName,
            org.apache.thrift.async.AsyncMethodCallback resultHandler) | 
| void | result(String id,
      String result,
      org.apache.thrift.async.AsyncMethodCallback 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 resultHandler) throws org.apache.thrift.TException
result in interface DistributedRPCInvocations.AsyncIfaceorg.apache.thrift.TExceptionpublic void fetchRequest(String functionName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
fetchRequest in interface DistributedRPCInvocations.AsyncIfaceorg.apache.thrift.TExceptionpublic void failRequest(String id, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
failRequest in interface DistributedRPCInvocations.AsyncIfaceorg.apache.thrift.TExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.