Module jcifs

Class Smb2TreeConnectResponse

All Implemented Interfaces:
CommonServerMessageBlock, CommonServerMessageBlockResponse, TreeConnectResponse, Message, Response

public class Smb2TreeConnectResponse extends ServerMessageBlock2Response implements TreeConnectResponse
SMB2 Tree Connect response message. This response contains information about the connected tree, including share type and capabilities.
Author:
mbechler
  • Field Details

    • SMB2_SHARE_TYPE_DISK

      public static final byte SMB2_SHARE_TYPE_DISK
      Share type constant for disk shares (file shares).
      See Also:
    • SMB2_SHARE_TYPE_PIPE

      public static final byte SMB2_SHARE_TYPE_PIPE
      Share type constant for named pipe shares (IPC).
      See Also:
    • SMB2_SHARE_TYPE_PRINT

      public static final byte SMB2_SHARE_TYPE_PRINT
      Share type constant for printer shares.
      See Also:
    • SMB2_SHAREFLAG_MANUAL_CACHING

      public static final int SMB2_SHAREFLAG_MANUAL_CACHING
      Share flag indicating manual caching of documents.
      See Also:
    • SMB2_SHAREFLAG_AUTO_CACHING

      public static final int SMB2_SHAREFLAG_AUTO_CACHING
      Share flag indicating automatic caching of documents.
      See Also:
    • SMB2_SHAREFLAG_VDO_CACHING

      public static final int SMB2_SHAREFLAG_VDO_CACHING
      Share flag indicating automatic caching of programs and documents.
      See Also:
    • SMB2_SHAREFLAG_DFS

      public static final int SMB2_SHAREFLAG_DFS
      Share flag indicating the share is in a DFS namespace.
      See Also:
    • SMB2_SHAREFLAG_DFS_ROOT

      public static final int SMB2_SHAREFLAG_DFS_ROOT
      Share flag indicating the share is a DFS root.
      See Also:
    • SMB2_SHAREFLAG_RESTRICT_EXCLUSIVE_OPENS

      public static final int SMB2_SHAREFLAG_RESTRICT_EXCLUSIVE_OPENS
      Share flag indicating that exclusive opens are restricted on this share.
      See Also:
    • SMB2_SHAREFLAG_FORCE_SHARED_DELETE

      public static final int SMB2_SHAREFLAG_FORCE_SHARED_DELETE
      Share flag indicating that shared delete is forced for this share.
      See Also:
    • SMB2_SHAREFLAG_ALLOW_NAMESPACE_CACHING

      public static final int SMB2_SHAREFLAG_ALLOW_NAMESPACE_CACHING
      Share flag indicating that namespace caching is allowed on this share.
      See Also:
    • SMB2_SHAREFLAG_ACCESS_BASED_DIRECTORY_ENUM

      public static final int SMB2_SHAREFLAG_ACCESS_BASED_DIRECTORY_ENUM
      Share flag indicating that access-based directory enumeration is enabled.
      See Also:
    • SMB2_SHAREFLAG_FORCE_LEVEL2_OPLOCK

      public static final int SMB2_SHAREFLAG_FORCE_LEVEL2_OPLOCK
      Share flag indicating that level 2 oplocks are forced on this share.
      See Also:
    • SMB2_SHAREFLAG_ENABLE_HASH_V1

      public static final int SMB2_SHAREFLAG_ENABLE_HASH_V1
      Share flag indicating that hash generation V1 is enabled for this share.
      See Also:
    • SMB2_SHAREFLAG_ENABLE_HASH_V2

      public static final int SMB2_SHAREFLAG_ENABLE_HASH_V2
      Share flag indicating that hash generation V2 is enabled for this share.
      See Also:
    • SMB2_SHAREFLAG_ENCRYPT_DATA

      public static final int SMB2_SHAREFLAG_ENCRYPT_DATA
      Share flag indicating that encryption is required for this share.
      See Also:
    • SMB2_SHARE_CAP_DFS

      public static final int SMB2_SHARE_CAP_DFS
      Share capability indicating DFS support.
      See Also:
    • SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY

      public static final int SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY
      Share capability indicating continuous availability support.
      See Also:
    • SMB2_SHARE_CAP_SCALEOUT

      public static final int SMB2_SHARE_CAP_SCALEOUT
      Share capability indicating scale-out support.
      See Also:
    • SMB2_SHARE_CAP_CLUSTER

      public static final int SMB2_SHARE_CAP_CLUSTER
      Share capability indicating cluster support.
      See Also:
    • SMB2_SHARE_CAP_ASYMMETRIC

      public static final int SMB2_SHARE_CAP_ASYMMETRIC
      Share capability indicating asymmetric support.
      See Also:
  • Constructor Details

    • Smb2TreeConnectResponse

      public Smb2TreeConnectResponse(Configuration config)
      Creates a new SMB2 tree connect response.
      Parameters:
      config - the CIFS configuration
  • Method Details