Package org.apache.storm.generated
Class DistributedRPC.AsyncClient
java.lang.Object
org.apache.storm.thrift.async.TAsyncClient
org.apache.storm.generated.DistributedRPC.AsyncClient
- All Implemented Interfaces:
DistributedRPC.AsyncIface
- Enclosing class:
- DistributedRPC
public static class DistributedRPC.AsyncClient
extends org.apache.storm.thrift.async.TAsyncClient
implements DistributedRPC.AsyncIface
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields inherited from class org.apache.storm.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport
-
Constructor Summary
ConstructorDescriptionAsyncClient
(org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory, org.apache.storm.thrift.async.TAsyncClientManager clientManager, org.apache.storm.thrift.transport.TNonblockingTransport transport) -
Method Summary
Methods inherited from class org.apache.storm.thrift.async.TAsyncClient
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
-
Constructor Details
-
AsyncClient
public AsyncClient(org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory, org.apache.storm.thrift.async.TAsyncClientManager clientManager, org.apache.storm.thrift.transport.TNonblockingTransport transport)
-
-
Method Details
-
execute
public void execute(String functionName, String funcArgs, org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.storm.thrift.TException - Specified by:
execute
in interfaceDistributedRPC.AsyncIface
- Throws:
org.apache.storm.thrift.TException
-