backtype.storm.generated
Class DistributedRPCInvocations.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
backtype.storm.generated.DistributedRPCInvocations.AsyncClient
- All Implemented Interfaces:
- DistributedRPCInvocations.AsyncIface
- Enclosing class:
- DistributedRPCInvocations
public static class DistributedRPCInvocations.AsyncClient
- extends org.apache.thrift.async.TAsyncClient
- implements DistributedRPCInvocations.AsyncIface
| Fields inherited from class org.apache.thrift.async.TAsyncClient |
___currentMethod, ___manager, ___protocolFactory, ___transport |
|
Constructor Summary |
DistributedRPCInvocations.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport)
|
| Methods inherited from class org.apache.thrift.async.TAsyncClient |
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistributedRPCInvocations.AsyncClient
public DistributedRPCInvocations.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport)
result
public void result(String id,
String result,
org.apache.thrift.async.AsyncMethodCallback<DistributedRPCInvocations.AsyncClient.result_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
result in interface DistributedRPCInvocations.AsyncIface
- Throws:
org.apache.thrift.TException
fetchRequest
public void fetchRequest(String functionName,
org.apache.thrift.async.AsyncMethodCallback<DistributedRPCInvocations.AsyncClient.fetchRequest_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
fetchRequest in interface DistributedRPCInvocations.AsyncIface
- Throws:
org.apache.thrift.TException
failRequest
public void failRequest(String id,
org.apache.thrift.async.AsyncMethodCallback<DistributedRPCInvocations.AsyncClient.failRequest_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
failRequest in interface DistributedRPCInvocations.AsyncIface
- Throws:
org.apache.thrift.TException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.