Class CMFileSyncEventFileEntries


public class CMFileSyncEventFileEntries extends CMFileSyncEvent
This class represents a CMFileSyncEvent with which the client sends the server a list of file entries that will be synchronized.
  • Constructor Details

    • CMFileSyncEventFileEntries

      public CMFileSyncEventFileEntries()
    • CMFileSyncEventFileEntries

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

      public void setUserName(String userName)
    • getNumFilesCompleted

      public int getNumFilesCompleted()
      gets the number of file entries that has been already transferred.
      Returns:
      number of file entries that has been already transferred
    • setNumFilesCompleted

      public void setNumFilesCompleted(int numFilesCompleted)
    • getNumFiles

      public int getNumFiles()
      gets the number of file entries in this event.
      Returns:
      number of file entries in this event
    • setNumFiles

      public void setNumFiles(int numFiles)
    • getClientPathEntryList

      public List<CMFileSyncEntry> getClientPathEntryList()
      gets the list of file entries in this event.
      Returns:
      a list of file entries
    • setClientPathEntryList

      public void setClientPathEntryList(List<CMFileSyncEntry> clientPathEntryList)