Class CMFileSyncEventOnlineModeList


public class CMFileSyncEventOnlineModeList extends CMFileSyncEvent
This class represents a CMFileSyncEvent with which the client sends the server a list of local mode file paths that will be changed to the online mode.
  • Constructor Details

    • CMFileSyncEventOnlineModeList

      public CMFileSyncEventOnlineModeList()
    • CMFileSyncEventOnlineModeList

      public CMFileSyncEventOnlineModeList(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
    • getRequester

      public String getRequester()
      gets the requester (client) name.
      Returns:
      requester (client) name
    • setRequester

      public void setRequester(String requester)
    • getRelativePathList

      public List<Path> getRelativePathList()
      gets the list of local mode file paths that will be changed to the online mode.
      Returns:
      a list of local mode file paths
      The path is a relative path from the synchronization home directory.
    • setRelativePathList

      public void setRelativePathList(List<Path> relativePathList)