- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for getFileId (0.12 sec)
-
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
HandleInfo info = new HandleInfo("/test/file.txt", testGuid, new byte[16], HandleType.DURABLE_V2, 120000, null); assertArrayEquals(new byte[16], info.getFileId()); info.updateFileId(testFileId); assertArrayEquals(testFileId, info.getFileId()); // Test invalid file ID length assertThrows(IllegalArgumentException.class, () -> { info.updateFileId(new byte[8]); });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
if (cr != null && cr.isReceived() && cr.getStatus() == NtStatus.NT_STATUS_SUCCESS) { try { th.send(new Smb2CloseRequest(th.getConfig(), cr.getFileId())); } catch (final SmbException e2) { e.addSuppressed(e2); } } final Smb2QueryDirectoryResponse qr = query.getResponse();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
*/ public HandleGuid getCreateGuid() { return createGuid; } /** * Get the file ID * @return copy of the 16-byte file ID */ public byte[] getFileId() { return Arrays.copyOf(fileId, 16); } /** * Get the handle type * @return the handle type */ public HandleType getType() { return type; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
CommonServerMessageBlockRequest req; NotifyResponse resp = null; if (th.isSMB2()) { final Smb2ChangeNotifyRequest r = new Smb2ChangeNotifyRequest(th.getConfig(), this.handle.getFileId()); r.setCompletionFilter(this.filter); r.setNotifyFlags(this.recursive ? Smb2ChangeNotifyRequest.SMB2_WATCH_TREE : 0); req = r; } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
log.debug("Performing reconnection for handle: {} (type: {})", info.getPath(), info.getType()); // Create reconnect context DurableHandleReconnect reconnectCtx = new DurableHandleReconnect(info.getFileId()); // This would typically involve: // 1. Creating a new Smb2CreateRequest with reconnect context // 2. Adding lease context if needed
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
if (th.isSMB2()) { final Smb2IoctlRequest req = new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_PEEK, fd.getFileId()); req.setMaxOutputResponse(16); req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL); final Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
} DurableHandleReconnect reconnect = new DurableHandleReconnect(fileId); assertEquals("DHnC", new String(reconnect.getName())); assertArrayEquals(fileId, reconnect.getFileId()); assertTrue(reconnect.size() > 0); // Test encoding byte[] buffer = new byte[reconnect.size()]; int encoded = reconnect.encode(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
*/ public final long getEndOfFile() { return this.endOfFile; } /** * Get the file ID * * @return the fileId */ public byte[] getFileId() { return this.fileId; } /** * Get the file name * * @return the fileName */ public String getFileName() { return this.fileName; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
fileId[i] = (byte) (i + 1); } manager.updateHandleFileId(guid, fileId); HandleInfo info = manager.getHandleByGuid(guid); assertArrayEquals(fileId, info.getFileId()); } @Test public void testGetHandleForReconnect() { HandleGuid guid = manager.requestDurableHandle("/test/file.txt", HandleType.DURABLE_V2, 120000, null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0)