Class CMFileSyncEventEndFileBlockChecksum


public class CMFileSyncEventEndFileBlockChecksum extends CMFileSyncEvent
This class represents a CMFileSyncEvent with which the server notifies the client of the completion of sending block checksums of a file.
  • Constructor Details

    • CMFileSyncEventEndFileBlockChecksum

      public CMFileSyncEventEndFileBlockChecksum()
    • CMFileSyncEventEndFileBlockChecksum

      public CMFileSyncEventEndFileBlockChecksum(ByteBuffer msg)
  • Method Details

    • getByteNum

      protected int getByteNum()
      Overrides:
      getByteNum in class CMEvent
    • marshallBody

      protected void marshallBody()
      Specified by:
      marshallBody in class CMEvent
    • unmarshallBody

      protected void unmarshallBody(ByteBuffer msg)
      Specified by:
      unmarshallBody in class CMEvent
    • toString

      public String toString()
      Overrides:
      toString in class CMEvent
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class CMEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getFileEntryIndex

      public int getFileEntryIndex()
      gets an index of a file entry for synchronization.
      Returns:
      index of a file entry for synchronization
    • setFileEntryIndex

      public void setFileEntryIndex(int fileEntryIndex)
    • getTotalNumBlocks

      public int getTotalNumBlocks()
      gets the total number of blocks of the file.
      Returns:
      total number of blocks of the file
    • setTotalNumBlocks

      public void setTotalNumBlocks(int totalNumBlocks)
    • getBlockSize

      public int getBlockSize()
      gets the block size of the file.
      Returns:
      block size of the file
    • setBlockSize

      public void setBlockSize(int blockSize)