- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SmbWatchHandle (0.33 sec)
-
src/test/java/jcifs/SmbWatchHandleTest.java
@Test void testAutoCloseable() throws CIFSException { // Create a mock that tracks close calls SmbWatchHandle autoCloseableHandle = mock(SmbWatchHandle.class); when(autoCloseableHandle.watch()).thenReturn(mockNotifications); // Use try-with-resources try (SmbWatchHandle handle = autoCloseableHandle) { List<FileNotifyInformation> result = handle.watch();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
class SmbResourceTest { @Mock private SmbResource mockResource; @Mock private SmbResourceLocator mockLocator; @Mock private CIFSContext mockContext; @Mock private SmbWatchHandle mockWatchHandle; @Mock private SmbRandomAccess mockRandomAccess; @Mock private InputStream mockInputStream; @Mock private OutputStream mockOutputStream; @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* whether to also watch subdirectories * @return watch context, needs to be closed when finished * @throws CIFSException if an error occurs accessing the resource */ SmbWatchHandle watch(int filter, boolean recursive) throws CIFSException; /** * Return the resolved owner group SID for this file or directory * * @return the owner group SID, <code>null</code> if not present
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1)