Class CMFileSyncEventSkipUpdateFile


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

    • CMFileSyncEventSkipUpdateFile

      public CMFileSyncEventSkipUpdateFile()
    • CMFileSyncEventSkipUpdateFile

      public CMFileSyncEventSkipUpdateFile(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)
    • getSkippedPath

      public Path getSkippedPath()
      gets the file path that does not need to be synchronized.
      Returns:
      a skipped file path
      The path is a relative path from the synchronization home directory.
    • setSkippedPath

      public void setSkippedPath(Path skippedPath)