Class CMFileSyncEventStartFileList


public class CMFileSyncEventStartFileList extends CMFileSyncEvent
This class represents a CMFileSyncEvent with which the client notifies the server of the start of sending a list of file entries for synchronization.
  • Constructor Details

    • CMFileSyncEventStartFileList

      public CMFileSyncEventStartFileList()
    • CMFileSyncEventStartFileList

      public CMFileSyncEventStartFileList(ByteBuffer msg)
  • Method Details

    • getByteNum

      public 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 user (client) name.
      Returns:
      user (client) name
    • setUserName

      public void setUserName(String userName)
    • getNumTotalFiles

      public int getNumTotalFiles()
      gets the total number of file entries to be synchronized.
      Returns:
      total number of file entries
    • setNumTotalFiles

      public void setNumTotalFiles(int numTotalFiles)