- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for SmbWatchHandle (0.6 seconds)
-
src/main/java/jcifs/SmbWatchHandle.java
package jcifs; import java.util.List; import java.util.concurrent.Callable; /** * Handle for receiving change notifications from an SMB server * * * @author mbechler * */ public interface SmbWatchHandle extends AutoCloseable, Callable<List<FileNotifyInformation>> { /** * Get the next set of changes *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
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/main/java/jcifs/smb/SmbWatchHandleImpl.java
} } /** * {@inheritDoc} * * @see jcifs.SmbWatchHandle#call() */ @Override public List<FileNotifyInformation> call() throws CIFSException { return watch(); } /** * {@inheritDoc} * * @see jcifs.SmbWatchHandle#close() */ @Override public void close() throws CIFSException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.5K bytes - Click Count (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; @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) -
src/main/java/jcifs/smb/SmbFile.java
import jcifs.ResourceFilter; import jcifs.ResourceNameFilter; import jcifs.SmbConstants; import jcifs.SmbFileHandle; import jcifs.SmbResource; import jcifs.SmbResourceLocator; import jcifs.SmbTreeHandle; import jcifs.SmbWatchHandle; import jcifs.context.SingletonContext; import jcifs.dcerpc.DcerpcHandle; import jcifs.dcerpc.msrpc.MsrpcShareGetInfo; import jcifs.internal.AllocInfo; import jcifs.internal.SmbBasicFileInfo;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0)