- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for notifications (0.09 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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 ```javaRegistered: Sat Dec 20 13:44:44 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 notificationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K 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: 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/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/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)