Class ReportingSrv.AsyncClient

java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.reports.ReportingSrv.AsyncClient
All Implemented Interfaces:
ReportingSrv.AsyncIface
Enclosing class:
ReportingSrv

public static class ReportingSrv.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ReportingSrv.AsyncIface
  • Constructor Details

    • AsyncClient

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

    • getReports

      public void getReports(ReportRequest request, List<ReportType> report_types, org.apache.thrift.async.AsyncMethodCallback<List<Report>> resultHandler) throws org.apache.thrift.TException
      Specified by:
      getReports in interface ReportingSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • generateReport

      public void generateReport(ReportRequest request, ReportType report_type, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
      Specified by:
      generateReport in interface ReportingSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • getReport

      public void getReport(String party_id, String shop_id, long report_id, org.apache.thrift.async.AsyncMethodCallback<Report> resultHandler) throws org.apache.thrift.TException
      Specified by:
      getReport in interface ReportingSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • cancelReport

      public void cancelReport(String party_id, String shop_id, long report_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Specified by:
      cancelReport in interface ReportingSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • generatePresignedUrl

      public void generatePresignedUrl(String file_id, String expires_at, org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
      Specified by:
      generatePresignedUrl in interface ReportingSrv.AsyncIface
      Throws:
      org.apache.thrift.TException