Class AntFsCommon.IpcDefines
java.lang.Object
com.dsi.ant.plugins.antplus.common.AntFsCommon.IpcDefines
- Enclosing class:
- AntFsCommon
Defines the keys and values used to communicate between the PCC and plugin.
User code should never have to reference these defines.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
If true, notifies the plugin to send progress updates.static final String
The currentAntFsCommon.AntFsStateCode
.static final String
The total number of bytes to be transferred.static final String
The number of bytes transferred.static final String
The bytes downloaded.static final String
The target number of bytes requested.static final int
Communicates the work done.static final int
Receives files that have finished downloading -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MSG_EVENT_ANTFS_whatANTFSPROGRESSUPDATE
public static final int MSG_EVENT_ANTFS_whatANTFSPROGRESSUPDATECommunicates the work done.- See Also:
-
MSG_EVENT_ANTFS_ANTFSPROGRESSUPDATE_PARAM_intSTATECODE
The currentAntFsCommon.AntFsStateCode
. Sent in theMSG_EVENT_ANTFS_whatANTFSPROGRESSUPDATE
event.- See Also:
-
MSG_EVENT_ANTFS_ANTFSPROGRESSUPDATE_PARAM_longTRANSFERREDBYTES
The number of bytes transferred. Sent in theMSG_EVENT_ANTFS_whatANTFSPROGRESSUPDATE
event. Note: There are cases in the process of retrying a download that this number can restart at a lower value. This number is always the progress towards the total, not a count of total number of bytes sent over the connection.- See Also:
-
MSG_EVENT_ANTFS_ANTFSPROGRESSUPDATE_PARAM_longTOTALBYTES
The total number of bytes to be transferred. Sent in theMSG_EVENT_ANTFS_whatANTFSPROGRESSUPDATE
event.- See Also:
-
MSG_CMD_ANTFSREQUEST_GENERIC_PARAM_boolUSEANTFSPROGRESSUPDATES
If true, notifies the plugin to send progress updates.- See Also:
-
MSG_EVENT_ANTFS_whatDOWNLOADFINISHED
public static final int MSG_EVENT_ANTFS_whatDOWNLOADFINISHEDReceives files that have finished downloading- See Also:
-
MSG_EVENT_ANTFS_FILEDOWNLOADED_PARAM_arrayByteRAWFILEBYTES
The bytes downloaded. Sent in theMSG_EVENT_ANTFS_whatDOWNLOADFINISHED
event.- See Also:
-
MSG_EVENT_ANTFS_FILEDOWNLOADED_PARAM_longTARGETBYTES
The target number of bytes requested. If this does not match the size of the file bytes array it indicates the partial result of a failed download. Sent in theMSG_EVENT_ANTFS_whatDOWNLOADFINISHED
event.- See Also:
-
-
Constructor Details
-
IpcDefines
public IpcDefines()
-