Class AntFsCommon.IpcDefines

java.lang.Object
com.dsi.ant.plugins.antplus.common.AntFsCommon.IpcDefines
Enclosing class:
AntFsCommon

public class AntFsCommon.IpcDefines extends Object
Defines the keys and values used to communicate between the PCC and plugin. User code should never have to reference these defines.
  • Field Details

    • MSG_EVENT_ANTFS_whatANTFSPROGRESSUPDATE

      public static final int MSG_EVENT_ANTFS_whatANTFSPROGRESSUPDATE
      Communicates the work done.
      See Also:
    • MSG_EVENT_ANTFS_ANTFSPROGRESSUPDATE_PARAM_intSTATECODE

      public static final String MSG_EVENT_ANTFS_ANTFSPROGRESSUPDATE_PARAM_intSTATECODE
      See Also:
    • MSG_EVENT_ANTFS_ANTFSPROGRESSUPDATE_PARAM_longTRANSFERREDBYTES

      public static final String MSG_EVENT_ANTFS_ANTFSPROGRESSUPDATE_PARAM_longTRANSFERREDBYTES
      The number of bytes transferred. Sent in the MSG_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

      public static final String MSG_EVENT_ANTFS_ANTFSPROGRESSUPDATE_PARAM_longTOTALBYTES
      The total number of bytes to be transferred. Sent in the MSG_EVENT_ANTFS_whatANTFSPROGRESSUPDATE event.
      See Also:
    • MSG_CMD_ANTFSREQUEST_GENERIC_PARAM_boolUSEANTFSPROGRESSUPDATES

      public static final String 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_whatDOWNLOADFINISHED
      Receives files that have finished downloading
      See Also:
    • MSG_EVENT_ANTFS_FILEDOWNLOADED_PARAM_arrayByteRAWFILEBYTES

      public static final String MSG_EVENT_ANTFS_FILEDOWNLOADED_PARAM_arrayByteRAWFILEBYTES
      The bytes downloaded. Sent in the MSG_EVENT_ANTFS_whatDOWNLOADFINISHED event.
      See Also:
    • MSG_EVENT_ANTFS_FILEDOWNLOADED_PARAM_longTARGETBYTES

      public static final String 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 the MSG_EVENT_ANTFS_whatDOWNLOADFINISHED event.
      See Also:
  • Constructor Details

    • IpcDefines

      public IpcDefines()