Class ClientProgressReport

java.lang.Object
com.perforce.p4java.impl.mapbased.rpc.func.client.ClientProgressReport

public class ClientProgressReport extends Object
Report the progress of the command tick by tick.
  • Field Details

  • Constructor Details

    • ClientProgressReport

      public ClientProgressReport(RpcServer server)
  • Method Details

    • report

      public boolean report(IProgressCallback progressCallback, int cmdCallBackKey, RpcFunctionSpec funcSpec, CommandEnv cmdEnv, Map<String,Object> resultsMap)
      Do a quick and dirty probabilistic progress report. Does not try to be too clever, but it does need to know something about the calling context to be able to send something useful back. If the tick() callback is called, this will return whatever the tick call returned, otherwise it returns true (which is usually interpreted to mean "keep going"...
      Parameters:
      progressCallback - progressCallback
      cmdCallBackKey - cmdCallBackKey
      funcSpec - funcSpec
      cmdEnv - cmdEnv
      resultsMap - resultsMap
      Returns:
      ok