Class DistributedRPC.AsyncClient.execute_call

java.lang.Object
org.apache.storm.thrift.async.TAsyncMethodCall<String>
org.apache.storm.generated.DistributedRPC.AsyncClient.execute_call
Enclosing class:
DistributedRPC.AsyncClient

public static class DistributedRPC.AsyncClient.execute_call extends org.apache.storm.thrift.async.TAsyncMethodCall<String>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.storm.thrift.async.TAsyncMethodCall

    org.apache.storm.thrift.async.TAsyncMethodCall.State
  • Field Summary

    Fields inherited from class org.apache.storm.thrift.async.TAsyncMethodCall

    client, transport
  • Constructor Summary

    Constructors
    Constructor
    Description
    execute_call(String functionName, String funcArgs, org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler, org.apache.storm.thrift.async.TAsyncClient client, org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory, org.apache.storm.thrift.transport.TNonblockingTransport transport)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    write_args(org.apache.storm.thrift.protocol.TProtocol prot)
     

    Methods inherited from class org.apache.storm.thrift.async.TAsyncMethodCall

    getClient, getFrameBuffer, getSequenceId, getStartTime, getState, getTimeoutTimestamp, hasTimeout, isFinished, onError, prepareMethodCall

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • execute_call

      public execute_call(String functionName, String funcArgs, org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler, org.apache.storm.thrift.async.TAsyncClient client, org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory, org.apache.storm.thrift.transport.TNonblockingTransport transport) throws org.apache.storm.thrift.TException
      Throws:
      org.apache.storm.thrift.TException
  • Method Details

    • write_args

      public void write_args(org.apache.storm.thrift.protocol.TProtocol prot) throws org.apache.storm.thrift.TException
      Specified by:
      write_args in class org.apache.storm.thrift.async.TAsyncMethodCall<String>
      Throws:
      org.apache.storm.thrift.TException
    • getResult

      public String getResult() throws DRPCExecutionException, AuthorizationException, org.apache.storm.thrift.TException
      Specified by:
      getResult in class org.apache.storm.thrift.async.TAsyncMethodCall<String>
      Throws:
      DRPCExecutionException
      AuthorizationException
      org.apache.storm.thrift.TException