Class RequestStatusCode

java.lang.Object
com.dsi.ant.plugins.internal.pluginsipc.RequestStatusCode
Direct Known Subclasses:
AntFsCommon.AntFsRequestStatusCode

public class RequestStatusCode extends Object
Defines the status code results sent on the result receiver for requests to the plugin. Refer to the documentation of the specific request functions for more detail.
  • Field Details

    • SUCCESS

      public static final int SUCCESS
      The request was successful.
      See Also:
    • FAIL_CANCELLED

      public static final int FAIL_CANCELLED
      The request was cancelled.
      See Also:
    • FAIL_OTHER

      public static final int FAIL_OTHER
      The request failed for an unknown reason. This includes new failure reasons implemented in newer versions of the plugins.
      See Also:
    • FAIL_ALREADY_BUSY_EXTERNAL

      public static final int FAIL_ALREADY_BUSY_EXTERNAL
      The request was not processed because the device is already processing a request from another PCC. Note: You can watch the device statuses of AntPluginMsgDefines.DeviceStateCodes.PROCESSING_REQUEST (busy) and AntPluginMsgDefines.DeviceStateCodes.TRACKING (idle) on your AntPluginPcc.IDeviceStateChangeReceiver to know when to submit your request or try to submit your request again.
      See Also:
    • FAIL_DEVICE_COMMUNICATION_FAILURE

      public static final int FAIL_DEVICE_COMMUNICATION_FAILURE
      The request did not finish processing because there was a failure communicating with the device during its execution.
      See Also:
    • FAIL_DEVICE_TRANSMISSION_LOST

      public static final int FAIL_DEVICE_TRANSMISSION_LOST
      The request did not finish processing because there was a failure communicating with the device during its execution.
      See Also:
    • FAIL_BAD_PARAMS

      public static final int FAIL_BAD_PARAMS
      The request was not processed because a parameter was missing or an invalid value was passed.
      See Also:
    • FAIL_NO_PERMISSION

      public static final int FAIL_NO_PERMISSION
      The request was not processed because a permission check failed.
      See Also:
    • FAIL_NOT_SUPPORTED

      public static final int FAIL_NOT_SUPPORTED
      The request was recognized but is not supported by the target
      See Also:
  • Constructor Details

    • RequestStatusCode

      public RequestStatusCode()