Class SimpleThriftService.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

      • echoPass

        public void echoPass​(String value,
                             org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
                      throws org.apache.thrift.TException
        Specified by:
        echoPass in interface SimpleThriftService.AsyncIface
        Throws:
        org.apache.thrift.TException
      • onewayPass

        public void onewayPass​(String value,
                               org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                        throws org.apache.thrift.TException
        Specified by:
        onewayPass in interface SimpleThriftService.AsyncIface
        Throws:
        org.apache.thrift.TException
      • echoFail

        public void echoFail​(String value,
                             org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
                      throws org.apache.thrift.TException
        Specified by:
        echoFail in interface SimpleThriftService.AsyncIface
        Throws:
        org.apache.thrift.TException
      • onewayFail

        public void onewayFail​(String value,
                               org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                        throws org.apache.thrift.TException
        Specified by:
        onewayFail in interface SimpleThriftService.AsyncIface
        Throws:
        org.apache.thrift.TException
      • onewayRuntimeFail

        public void onewayRuntimeFail​(String value,
                                      org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                               throws org.apache.thrift.TException
        Specified by:
        onewayRuntimeFail in interface SimpleThriftService.AsyncIface
        Throws:
        org.apache.thrift.TException