Module jcifs

Class Smb2ChangeNotifyRequest

All Implemented Interfaces:
CommonServerMessageBlock, CommonServerMessageBlockRequest, Request<Smb2ChangeNotifyResponse>, Message, Request

public class Smb2ChangeNotifyRequest extends ServerMessageBlock2Request<Smb2ChangeNotifyResponse>
SMB2 Change Notify request message. This command is used to monitor a directory for changes and receive notifications when modifications occur.
Author:
mbechler
  • Field Details

    • SMB2_WATCH_TREE

      public static final int SMB2_WATCH_TREE
      Flag to watch the directory tree recursively
      See Also:
    • FILE_NOTIFY_CHANGE_FILE_NAME

      public static final int FILE_NOTIFY_CHANGE_FILE_NAME
      Notify when a file name changes
      See Also:
    • FILE_NOTIFY_CHANGE_DIR_NAME

      public static final int FILE_NOTIFY_CHANGE_DIR_NAME
      Notify when a directory name changes
      See Also:
    • FILE_NOTIFY_CHANGE_ATTRIBUTES

      public static final int FILE_NOTIFY_CHANGE_ATTRIBUTES
      Notify when file attributes change
      See Also:
    • FILE_NOTIFY_CHANGE_SIZE

      public static final int FILE_NOTIFY_CHANGE_SIZE
      Notify when file size changes
      See Also:
    • FILE_NOTIFY_CHANGE_LAST_WRITE

      public static final int FILE_NOTIFY_CHANGE_LAST_WRITE
      Notify when last write time changes
      See Also:
    • FILE_NOTIFY_CHANGE_LAST_ACCESS

      public static final int FILE_NOTIFY_CHANGE_LAST_ACCESS
      Notify when last access time changes
      See Also:
    • FILE_NOTIFY_CHANGE_CREATION

      public static final int FILE_NOTIFY_CHANGE_CREATION
      Notify when creation time changes
      See Also:
    • FILE_NOTIFY_CHANGE_EA

      public static final int FILE_NOTIFY_CHANGE_EA
      Notify when extended attributes change
      See Also:
    • FILE_NOTIFY_CHANGE_SECURITY

      public static final int FILE_NOTIFY_CHANGE_SECURITY
      Notify when security descriptor changes
      See Also:
    • FILE_NOTIFY_CHANGE_STREAM_NAME

      public static final int FILE_NOTIFY_CHANGE_STREAM_NAME
      Notify when alternate data stream name changes
      See Also:
    • FILE_NOTIFY_CHANGE_STREAM_SIZE

      public static final int FILE_NOTIFY_CHANGE_STREAM_SIZE
      Notify when alternate data stream size changes
      See Also:
    • FILE_NOTIFY_CHANGE_STREAM_WRITE

      public static final int FILE_NOTIFY_CHANGE_STREAM_WRITE
      Notify when alternate data stream is written
      See Also:
  • Constructor Details

    • Smb2ChangeNotifyRequest

      public Smb2ChangeNotifyRequest(Configuration config, byte[] fileId)
      Constructs a change notify request
      Parameters:
      config - The configuration to use
      fileId - The file ID to monitor for changes
  • Method Details