Class RequestStatusCode
java.lang.Object
com.dsi.ant.plugins.internal.pluginsipc.RequestStatusCode
- Direct Known Subclasses:
AntFsCommon.AntFsRequestStatusCode
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe request was not processed because the device is already processing a request from another PCC.static final intThe request was not processed because a parameter was missing or an invalid value was passed.static final intThe request was cancelled.static final intThe request did not finish processing because there was a failure communicating with the device during its execution.static final intThe request did not finish processing because there was a failure communicating with the device during its execution.static final intThe request was not processed because a permission check failed.static final intThe request was recognized but is not supported by the targetstatic final intThe request failed for an unknown reason.static final intThe request was successful. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SUCCESS
public static final int SUCCESSThe request was successful.- See Also:
-
FAIL_CANCELLED
public static final int FAIL_CANCELLEDThe request was cancelled.- See Also:
-
FAIL_OTHER
public static final int FAIL_OTHERThe 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_EXTERNALThe request was not processed because the device is already processing a request from another PCC. Note: You can watch the device statuses ofAntPluginMsgDefines.DeviceStateCodes.PROCESSING_REQUEST(busy) andAntPluginMsgDefines.DeviceStateCodes.TRACKING(idle) on yourAntPluginPcc.IDeviceStateChangeReceiverto 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_FAILUREThe 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_LOSTThe 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_PARAMSThe 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_PERMISSIONThe request was not processed because a permission check failed.- See Also:
-
FAIL_NOT_SUPPORTED
public static final int FAIL_NOT_SUPPORTEDThe request was recognized but is not supported by the target- See Also:
-
-
Constructor Details
-
RequestStatusCode
public RequestStatusCode()
-