Class CMFileSyncEventCompleteFileSync


public class CMFileSyncEventCompleteFileSync extends CMFileSyncEvent
This class represents a CMFileSyncEvent with which the server notifies the client of the completion of file sync operation.
  • Constructor Details

    • CMFileSyncEventCompleteFileSync

      public CMFileSyncEventCompleteFileSync()
    • CMFileSyncEventCompleteFileSync

      public CMFileSyncEventCompleteFileSync(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
    • getUserName

      public String getUserName()
      gets the target user (client) name.
      Returns:
      user (client) name
    • setUserName

      public void setUserName(String userName)
    • getNumFilesCompleted

      public int getNumFilesCompleted()
      gets the number of files that completed synchronization.

      The number is the same as the number of files in the synchronization home directory.

      Returns:
      number of files that completed synchronization
    • setNumFilesCompleted

      public void setNumFilesCompleted(int numFilesCompleted)