Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getShareType (0.08 sec)

  1. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK, response.getShareType(), "Should handle DISK share type");
    
                // Test PIPE share type
                setPrivateField(response, "shareType", Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PIPE);
                assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PIPE, response.getShareType(), "Should handle PIPE share type");
    
                // Test PRINT share type
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

            }
            super.prepare(next);
        }
    
        /**
         * Returns the type of the connected share (disk, pipe, or print).
         *
         * @return the shareType
         */
        public byte getShareType() {
            return this.shareType;
        }
    
        /**
         * Returns the flags describing characteristics of the connected share.
         *
         * @return the shareFlags
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top