Interface IServerLicenseSystem.IUsageSource

All Known Implementing Classes:
LicenseCounter
Enclosing interface:
IServerLicenseSystem

public static interface IServerLicenseSystem.IUsageSource
What the server reports to the license server at every REFRESH (6.5): the peaks of the days since the last report. Assigned by the server's licence counter (B-5d) when it first finds the license system; until then nothing is reported.
Author:
Christopher Mindus
  • Method Details

    • getUsageDays

      Gets the days to report.
      Returns:
      The days since the last report, empty for none.
    • onReported

      void onReported(long reportedAt)
      Called once the license server accepted a report.
      Parameters:
      reportedAt - When, milliseconds since the epoch: the days up to it are reported.