Class ThriftTest.AsyncClient

    • Constructor Detail

      • AsyncClient

        public AsyncClient​(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                           org.apache.thrift.async.TAsyncClientManager clientManager,
                           org.apache.thrift.transport.TNonblockingTransport transport)
    • Method Detail

      • success

        public void success​(org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
                     throws org.apache.thrift.TException
        Specified by:
        success in interface ThriftTest.AsyncIface
        Throws:
        org.apache.thrift.TException
      • fails

        public void fails​(org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
                   throws org.apache.thrift.TException
        Specified by:
        fails in interface ThriftTest.AsyncIface
        Throws:
        org.apache.thrift.TException
      • throwsError

        public void throwsError​(org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
                         throws org.apache.thrift.TException
        Specified by:
        throwsError in interface ThriftTest.AsyncIface
        Throws:
        org.apache.thrift.TException