Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,154 for Handle (0.28 sec)

  1. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

        }
    
        /**
         * Sets the context handle for unregistration.
         *
         * @param contextHandle the context handle from registration
         */
        public void setContextHandle(byte[] contextHandle) {
            this.contextHandle = contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
         */
        public byte[] getContextHandle() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        /**
         * Get failure count for a handle
         *
         * @param handle notification handle
         * @return number of consecutive failures
         */
        private int getFailureCount(ChangeNotificationHandle handle) {
            return failureCounts.getOrDefault(handle.getDirectoryPath(), 0);
        }
    
        /**
         * Increment failure count for a handle
         *
         * @param handle notification handle
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                return new LeaseV2CreateContextResponse();
            case "DHnQ": // Durable Handle Request/Response
                return new jcifs.internal.smb2.persistent.DurableHandleResponse();
            case "DH2Q": // Durable Handle V2 Request/Response
                return new jcifs.internal.smb2.persistent.DurableHandleV2Response();
            case "DHnC": // Durable Handle Reconnect Request/Response
    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. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

        private final long retryDelay;
    
        /**
         * Create a new handle reconnector
         * @param manager the persistent handle manager
         */
        public HandleReconnector(PersistentHandleManager manager) {
            this(manager, 3, 1000);
        }
    
        /**
         * Create a new handle reconnector with custom settings
         * @param manager the persistent handle manager
         * @param maxRetries maximum number of retry attempts
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  5. 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)
  6. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            assertFalse(target.isOpen());
            assertFalse(target.isStale());
    
            // After ensureOpen, handle valid -> open
            SmbFileHandleImpl fh = target.ensureOpen();
            assertSame(fileHandle, fh);
            assertTrue(target.isOpen());
            assertFalse(target.isStale());
    
            // If handle becomes invalid, reflect stale
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. docs/smb3-features/04-directory-leasing-design.md

            ChangeNotificationHandle handle = activeWatchers.remove(directoryPath);
            if (handle != null) {
                handle.active = false;
                // Cancel any pending notifications
                cancelNotification(handle);
            }
        }
        
        private void startAsyncNotification(ChangeNotificationHandle handle) {
            CompletableFuture.runAsync(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            // Verify it's an instance of ServerMessageBlock2Response
            assertTrue(lockResponse instanceof jcifs.internal.smb2.ServerMessageBlock2Response);
        }
    
        @Test
        @DisplayName("Constructor should handle null configuration")
        void testConstructorWithNullConfig() {
            // Given & When
            Smb2LockResponse lockResponse = new Smb2LockResponse(null);
    
            // Then
            assertNotNull(lockResponse);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

             *
             * @param handle the policy handle to close
             */
            public LsarClose(final rpc.policy_handle handle) {
                this.handle = handle;
            }
    
            @Override
            public void encode_in(final NdrBuffer _dst) throws NdrException {
                this.handle.encode(_dst);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle special SMB2 context names")
            void testSMB2ContextNames() {
                // Common SMB2 create context names
                String[] contextNames = { "DHnQ", // Durable handle request
                        "DHnC", // Durable handle reconnect
                        "AlSi", // Allocation size
                        "MxAc", // Max access
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top