- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 138 for notifications (0.23 sec)
-
src/test/java/jcifs/internal/NotifyResponseTest.java
List<FileNotifyInformation> notifications = response.getNotifyInformation(); assertNotNull(notifications); assertEquals(2, notifications.size()); assertEquals(mockNotifyInfo1, notifications.get(0)); assertEquals(mockNotifyInfo2, notifications.get(1)); // Verify first notification FileNotifyInformation info1 = notifications.get(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
List<FileNotifyInformation> notifications = response.getNotifyInformation(); assertEquals(3, notifications.size()); // Verify first notification assertEquals("file1.txt", notifications.get(0).getFileName()); assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, notifications.get(0).getAction()); // Verify second notification
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
List<FileNotifyInformation> notifications = response.getNotifyInformation(); assertEquals(3, notifications.size()); assertEquals(1, notifications.get(0).getAction()); assertEquals("file1", notifications.get(0).getFileName()); assertEquals(2, notifications.get(1).getAction()); assertEquals("file2", notifications.get(1).getFileName());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
List<WitnessAsyncNotifyMessage.WitnessNotificationResponse> notifications = message.getNotifications(); if (!notifications.isEmpty()) { log.debug("Received {} notifications", notifications.size()); return notifications.get(0); // Return first notification } } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
} } private void processNotificationBatch(List<WitnessNotification> notifications) { // Process multiple notifications together for efficiency for (WitnessNotification notification : notifications) { // Handle notification } } } ``` ## 10. Security Considerations ### 10.1 Witness Authentication ```java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
/** * Processes a received witness notification. * * @param notification the notification to process */ public void processNotification(WitnessNotification notification) { log.info("Received witness notification: {} for resource: {}", notification.getEventType(), notification.getResourceName()); // Find registrations that match this notification
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
} /** * Gets the list of notifications received. * * @return the list of notifications */ public List<WitnessNotificationResponse> getNotifications() { return new ArrayList<>(notifications); } /** * Sets the notifications list. * * @param notifications the notifications to set */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
assertEquals("Map must be empty by now", 0, cache.size()); assertEquals("Eviction notifications must be received", 10, removalListener.getCount()); CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); // ensure that no new notifications are sent assertEquals("Eviction notifications must be received", 10, removalListener.getCount()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18.7K bytes - Viewed (0)