- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 750 for HANDLE (0.03 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java
* * @param handle the DCE/RPC handle for communication * @param server the server name (null defaults to local server) * @param access the desired access rights * @throws IOException if an I/O error occurs during handle creation */ public SamrPolicyHandle(final DcerpcHandle handle, String server, final int access) throws IOException { this.handle = handle; if (server == null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 3.8K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
/** * Information about a durable or persistent SMB handle. * This class holds all the necessary information to reconnect * a handle after network failures or server reboots. */ public class HandleInfo implements Serializable { private static final long serialVersionUID = 1L; /** * The full path to the file or directory associated with this handle */ private final String path; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
when(nego.isSigningNegotiated()).thenReturn(true); assertEquals(1111, handle.getSendBufferSize()); assertEquals(2222, handle.getReceiveBufferSize()); assertEquals(3333, handle.getMaximumBufferSize()); assertTrue(handle.areSignaturesActive()); verify(session, times(4)).close(); verify(transport, times(4)).close(); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
return CompletableFuture.failedFuture(new IOException("No durable handle available for reconnection: " + path)); } log.debug("Starting reconnection for handle: {} (cause: {})", path, cause.getMessage()); return attemptReconnect(info, 0, cause); } /** * Attempt to reconnect a specific handle * @param handleInfo the handle information
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (1)