Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for setFileId (0.69 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

                    mock(CommonServerMessageBlockRequest.class, withSettings().extraInterfaces(RequestWithFileId.class));
    
            resp.prepare(next);
    
            verify((RequestWithFileId) next, times(1)).setFileId(eq(fileId));
        }
    
        @Test
        void prepare_doesNothing_whenNotReceived() {
            Configuration config = Mockito.mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

            // Send FSCTL_QUERY_NETWORK_INTERFACE_INFO
            Smb2IoctlRequest request = new Smb2IoctlRequest();
            request.setCtlCode(FSCTL_QUERY_NETWORK_INTERFACE_INFO);
            request.setFileId(new byte[16]);  // Use session ID
            request.setMaxOutputResponse(65536);
            
            Smb2IoctlResponse response = (Smb2IoctlResponse) session.send(request);
            
            if (response.isSuccess()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         */
        @Override
        public void prepare(final CommonServerMessageBlockRequest next) {
            if (isReceived() && next instanceof RequestWithFileId) {
                ((RequestWithFileId) next).setFileId(this.fileId);
            }
            super.prepare(next);
        }
    
        /**
         * Get the oplock level granted by the server
         * @return the oplockLevel
         */
        public final byte getOplockLevel() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. docs/smb3-features/04-directory-leasing-design.md

                    try {
                        // Send SMB2 Change Notify request
                        Smb2ChangeNotifyRequest request = new Smb2ChangeNotifyRequest();
                        request.setFileId(handle.directoryFile.getFileId());
                        request.setCompletionFilter(getNotificationFilter());
                        request.setWatchTree(false);  // Non-recursive for now
                        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. docs/smb3-features/02-persistent-handles-design.md

                        file.getTree().send(createReq);
                    
                    if (response.isSuccess()) {
                        // Update file with new handle
                        file.setFileId(response.getFileId());
                        handleManager.completeReconnect(info.path, true);
                        return file;
                    } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                    try {
                        // Send the rename information
                        final Smb2SetInfoRequest setInfoReq = new Smb2SetInfoRequest(sh.getConfig());
                        setInfoReq.setFileId(createResp.getFileId());
                        setInfoReq.setFileInformation(new FileRenameInformation2(destPath, replace));
                        sh.send(setInfoReq);
                    } finally {
    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