- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 107 for notifications (0.96 sec)
-
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
/** * Gets the future for asynchronous notification completion * @return the notification future */ public CompletableFuture<Void> getNotificationFuture() { return notificationFuture; } /** * Sets the future for asynchronous notification completion * @param future the notification future to set */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
} /** * Simulate sending a witness notification * * @param eventType the event type * @param resourceName the resource name */ public void sendNotification(WitnessEventType eventType, String resourceName) { // In a real implementation, this would send notifications to registered clients // For the mock, we just log itRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
// Register for notifications WitnessRegistration registration = client.registerForNotifications("\\\\server\\share", serverAddress, listener).get(5, TimeUnit.SECONDS); // Create and process a notification WitnessNotification notification = new WitnessNotification(WitnessEventType.CLIENT_MOVE, "\\\\server\\share");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbWatchHandle.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ 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 *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
// Verify flags (RECURSIVE_TREE + NOTIFICATIONS) int expectedFlags = DirectoryLeaseContext.DIRECTORY_LEASE_FLAG_RECURSIVE | DirectoryLeaseContext.DIRECTORY_LEASE_FLAG_NOTIFICATIONS; assertEquals(expectedFlags, SMBUtil.readInt4(buffer, 68)); // Verify notification filter assertEquals(0x1F, SMBUtil.readInt4(buffer, 72)); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java
import jcifs.FileNotifyInformation; import jcifs.internal.NotifyResponse; import jcifs.internal.SMBProtocolDecodingException; /** * Response for SMB1 NT Transaction change notification. * * This response contains file system change notifications that occurred * in the monitored directory, such as file creation, modification, or deletion. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterRequest.java
*/ package jcifs.internal.witness; /** * Represents a witness unregistration request as defined in MS-SWN specification. * Used to unregister from witness notifications. */ public class WitnessUnregisterRequest { /** * Creates a new witness unregister request. */ public WitnessUnregisterRequest() { // Default constructor }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
* @return CIFS context */ public CIFSContext getContext() { return context; } /** * Check if directory notifications are enabled in configuration * * @param config configuration * @return true if notifications are enabled */ private boolean isDirectoryNotificationsEnabled(Configuration config) { return config.isDirectoryNotificationsEnabled(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java
import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * SMB2 Change Notify request message. * * This command is used to monitor a directory for changes * and receive notifications when modifications occur. * * @author mbechler */ public class Smb2ChangeNotifyRequest extends ServerMessageBlock2Request<Smb2ChangeNotifyResponse> { /** * Flag to watch the directory tree recursively
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
# Directory Leasing Feature - Detailed Design Document ## 1. Overview Directory leasing extends the SMB3 lease concept to directories, enabling client-side caching of directory metadata and change notifications. This significantly improves performance for applications that frequently enumerate directories or monitor directory changes. ## 2. Protocol Specification Reference - **MS-SMB2 Section 2.2.13.2.12**: SMB2_CREATE_REQUEST_LEASE_V2 for directories
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0)