Package dev.vality.damsel.reports
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport -
Constructor Summary
ConstructorsConstructorDescriptionAsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelReport(String party_id, String shop_id, long report_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidgeneratePresignedUrl(String file_id, String expires_at, org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) voidgenerateReport(ReportRequest request, ReportType report_type, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) voidgetReport(String party_id, String shop_id, long report_id, org.apache.thrift.async.AsyncMethodCallback<Report> resultHandler) voidgetReports(ReportRequest request, List<ReportType> report_types, org.apache.thrift.async.AsyncMethodCallback<List<Report>> resultHandler) Methods inherited from class org.apache.thrift.async.TAsyncClient
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
-
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:
getReportsin interfaceReportingSrv.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:
generateReportin interfaceReportingSrv.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:
getReportin interfaceReportingSrv.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:
cancelReportin interfaceReportingSrv.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:
generatePresignedUrlin interfaceReportingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-