Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Trans2QueryPathInformationResponse (0.23 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import java.util.Date;
    
    import jcifs.smb1.util.Hexdump;
    
    class Trans2QueryPathInformationResponse extends SmbComTransactionResponse {
    
        // information levels
        static final int SMB_QUERY_FILE_BASIC_INFO = 0x101;
        static final int SMB_QUERY_FILE_STANDARD_INFO = 0x102;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

     * returning various file information levels based on the requested information level.
     */
    public class Trans2QueryPathInformationResponse extends SmbComTransactionResponse {
    
        private final int informationLevel;
        private FileInformation info;
    
        /**
         * Constructs a Trans2QueryPathInformationResponse 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
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                Trans2QueryPathInformationResponse resp =
                        new Trans2QueryPathInformationResponse(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_STANDARD_INFO);
    
                Field infoLevel = Trans2QueryPathInformationResponse.class.getDeclaredField("informationLevel");
                infoLevel.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/InfoTest.java

            writeLong(buffer, 24, (change + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);
            writeShort(buffer, 32, attributes);
    
            Trans2QueryPathInformationResponse trans =
                    new Trans2QueryPathInformationResponse(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO) {
                    };
            int bytesRead = trans.readDataWireFormat(buffer, 0, buffer.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

    import jcifs.internal.fscc.FileStandardInfo;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    
    /**
     * Unit tests for Trans2QueryPathInformationResponse class
     */
    class Trans2QueryPathInformationResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private Trans2QueryPathInformationResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

                /*
                 * Trans2 Query Path Information Request / Response
                 */
    
                final Trans2QueryPathInformationResponse response = new Trans2QueryPathInformationResponse(infoLevel);
                send(new Trans2QueryPathInformation(path, infoLevel), response);
    
                return response.info;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                 * Optimized to request both basic and standard info in fewer round trips when possible
                 */
                Trans2QueryPathInformationResponse response = new Trans2QueryPathInformationResponse(th.getConfig(), infoLevel);
                response = th.send(new Trans2QueryPathInformation(th.getConfig(), path, infoLevel), response);
    
                if (log.isDebugEnabled()) {
    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