- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for SmbWatchHandle (0.35 seconds)
-
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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1) -
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; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (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 presentCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 28K bytes - Click Count (1)