Package unlimited.fc.client.engine
Class FCClientReportProcessor
- java.lang.Object
-
- unlimited.fc.client.engine.FCClientReportProcessor
-
public class FCClientReportProcessor extends java.lang.ObjectA small class that is used to encapsulate reporting functionality from the FCClientEngine's normal transactions.
-
-
Constructor Summary
Constructors Constructor Description FCClientReportProcessor(FCClientEngine engine, unlimited.fc.reporting.ClientDataReport report)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description unlimited.fc.reporting.ClientDataReportgetCurrentReport()booleanhasDataReport()voidupdateFromClientDataReportParams(unlimited.fc.reporting.ClientDataReportParameter params)voidwriteFinalLocalReport(MultiTransferHandler<?> handler)voidwriteFinalServerReport(MultiTransferHandler<?> handler)voidwriteIntermLocalReport()Called when an individual transfer completes (regardless of error, cancellation, or success).
-
-
-
Constructor Detail
-
FCClientReportProcessor
public FCClientReportProcessor(FCClientEngine engine, unlimited.fc.reporting.ClientDataReport report)
-
-
Method Detail
-
writeIntermLocalReport
public void writeIntermLocalReport()
Called when an individual transfer completes (regardless of error, cancellation, or success). For progressives, we have to run some special logic to continously append the data report to the existing report. That way the report properly reflects the entire transfer, rather than just the last progressive append.
-
writeFinalLocalReport
public void writeFinalLocalReport(MultiTransferHandler<?> handler)
-
writeFinalServerReport
public void writeFinalServerReport(MultiTransferHandler<?> handler)
-
updateFromClientDataReportParams
public void updateFromClientDataReportParams(unlimited.fc.reporting.ClientDataReportParameter params)
-
getCurrentReport
public unlimited.fc.reporting.ClientDataReport getCurrentReport()
-
hasDataReport
public boolean hasDataReport()
-
-