Class CMFileSyncEventFileEntriesAck


public class CMFileSyncEventFileEntriesAck extends CMFileSyncEvent
This class represents a CMFileSyncEvent with which the server acknowledges the reception of a list of file entries that will be synchronized.
  • Constructor Details

    • CMFileSyncEventFileEntriesAck

      public CMFileSyncEventFileEntriesAck()
    • CMFileSyncEventFileEntriesAck

      public CMFileSyncEventFileEntriesAck(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 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)
    • getReturnCode

      public int getReturnCode()
      gets the return code.
      Returns:
      return code
      1 if successful; 0 otherwise.
    • setReturnCode

      public void setReturnCode(int returnCode)