Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 653 for HANDLE (0.49 sec)

  1. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                    log.warn("Tree handle was not properly released, performing emergency cleanup: "
                            + (this.resourceLoc != null ? this.resourceLoc.getURL() : "unknown"));
                    emergencyReleaseHandle();
                }
            } catch (Exception e) {
                log.error("Error during tree handle finalization", e);
            } finally {
                super.finalize();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

         *
         * @param handle the DCE/RPC handle for communication
         * @param domainHandle the domain handle containing this alias
         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrAliasHandle(final DcerpcHandle handle, final SamrDomainHandle domainHandle, final int access, final int rid)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/rpcTest.java

            }
        }
    
        @Nested
        @DisplayName("Policy Handle Tests")
        class PolicyHandleTests {
    
            @Test
            @DisplayName("Should encode policy handle correctly")
            void testPolicyHandleEncode() throws NdrException {
                // Given: A policy handle with test values
                rpc.policy_handle policyHandle = new rpc.policy_handle();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. docs/smb3-features/02-persistent-handles-design.md

        }
    }
    
    private void reconnectWithDurableHandle(HandleInfo handle) throws IOException {
        Smb2CreateRequest request = new Smb2CreateRequest();
        request.setPath(handle.path);
        request.addReconnectContext(handle.fileId);
        
        // Add lease context if needed
        if (handle.leaseKey != null) {
            request.addLeaseContext(handle.leaseKey, Smb2LeaseState.SMB2_LEASE_NONE, false);
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            handle.ensureOpen();
            assertTrue(handle.isOpen());
    
            // Simulate invalidation
            assertFalse(handle.isOpen(), "Becomes not open when underlying handle invalid");
    
            // After close, report stale
            handle.close();
            assertTrue(handle.isStale(), "Closed handle reports stale");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

        private static final long serialVersionUID = 1L;
    
        /**
         * The underlying UUID representing this handle GUID
         */
        private final UUID guid;
    
        /**
         * Create a new random handle GUID
         */
        public HandleGuid() {
            this.guid = UUID.randomUUID();
        }
    
        /**
         * Create a handle GUID from existing bytes
         * @param bytes the 16-byte GUID data in little-endian format (SMB wire format)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

    /**
     * Handle for Security Account Manager (SAM) domain operations.
     * This class represents an open handle to a SAM domain and provides
     * operations for managing domain users, groups, and aliases.
     */
    public class SamrDomainHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        /**
         * Creates a new SAM domain handle.
         *
         * @param handle the DCE/RPC handle for communication
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

    import jcifs.smb1.smb1.SmbException;
    
    /**
     * Handle for Security Account Manager (SAM) policy operations.
     * This class represents an open handle to a SAM server and provides
     * high-level access to SAM database operations.
     */
    public class SamrPolicyHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        /**
         * Creates a new SAM policy handle.
         *
         * @param handle the DCE/RPC handle for communication
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            SmbFileHandleImpl handle = mock(SmbFileHandleImpl.class);
            when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(handle);
    
            int attrs = SmbConstants.ATTR_NORMAL;
    
            // Act
            SmbFileHandleImpl result = SmbCopyUtil.openCopyTargetFile(dest, attrs, alsoRead);
    
            // Assert
            assertSame(handle, result, "Should return handle from dest.openUnshared");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                assertEquals(mockBinding, handle.getBinding());
                assertTrue(handle.getMaxRecv() > 0);
                assertTrue(handle.getMaxXmit() > 0);
                assertEquals("test_server", handle.getServer());
                assertEquals("test_server_dfs", handle.getServerWithDfs());
                assertEquals(mockContext, handle.getTransportContext());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top