Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Trans2QueryFSInformationResponse (0.7 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

     * returning various file system information levels such as volume size and attributes.
     */
    public class Trans2QueryFSInformationResponse extends SmbComTransactionResponse {
    
        private final int informationLevel;
        private FileSystemInformation info;
    
        /**
         * Constructs a Trans2QueryFSInformationResponse with the specified configuration and information level.
         *
         * @param config the SMB configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    class Trans2QueryFSInformationResponse extends SmbComTransactionResponse {
    
        // information levels
        static final int SMB_INFO_ALLOCATION = 1;
        static final int SMB_QUERY_FS_SIZE_INFO = 0x103;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // Test getInformationLevel method
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.FS_SIZE_INFO);
    
            assertEquals(FileSystemInformation.FS_SIZE_INFO, response.getInformationLevel());
        }
    
        @Test
        void testGetInfo() {
            // Test getInfo method when info is null
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

        }
    
        /**
         * Tests the toString method of the Trans2QueryFSInformationResponse.
         */
        @Test
        void testToString() {
            Trans2QueryFSInformationResponse response =
                    new Trans2QueryFSInformationResponse(Trans2QueryFSInformationResponse.SMB_INFO_ALLOCATION);
            String responseString = response.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

                return size;
            }
    
            if (getType() == TYPE_SHARE) {
                Trans2QueryFSInformationResponse response;
                final int level = Trans2QueryFSInformationResponse.SMB_INFO_ALLOCATION;
    
                response = new Trans2QueryFSInformationResponse(level);
                send(new Trans2QueryFSInformation(level), response);
    
                size = response.info.getCapacity();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                        SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE, qreq);
                return resp.getInfo(clazz);
            }
            final Trans2QueryFSInformationResponse response = new Trans2QueryFSInformationResponse(th.getConfig(), level);
            th.send(new Trans2QueryFSInformation(th.getConfig(), level), response);
            return response.getInfo(clazz);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top