Class CMFileSyncEventCompleteUpdateFile


public class CMFileSyncEventCompleteUpdateFile extends CMFileSyncEvent
This class represents a CMFileSyncEvent with which the server notifies the client of the completion of update of a modified file for synchronization.
  • Constructor Details

    • CMFileSyncEventCompleteUpdateFile

      public CMFileSyncEventCompleteUpdateFile()
    • CMFileSyncEventCompleteUpdateFile

      public CMFileSyncEventCompleteUpdateFile(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)
    • getCompletedPath

      public Path getCompletedPath()
      gets the path of the update file.
      Returns:
      path of the updated file
    • setCompletedPath

      public void setCompletedPath(Path completedPath)