- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setNotificationFilter (2.96 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
context.setMaxCacheAge(60000L); assertEquals(60000L, context.getMaxCacheAge()); context.setNotificationEnabled(false); assertFalse(context.isNotificationEnabled()); context.setNotificationFilter(0xFF); assertEquals(0xFF, context.getNotificationFilter()); } @Test public void testSize() { Smb2LeaseKey key = new Smb2LeaseKey();
Registered: 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/DirectoryLeaseContext.java
} /** * Sets the notification filter flags that specify which changes to monitor * @param notificationFilter the notification filter flags */ public void setNotificationFilter(int notificationFilter) { this.notificationFilter = notificationFilter; } /** * Get the standard lease size for encoding/decoding * @return the standard lease context sizeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
context.setMaxCacheAge(60000L); context.setNotificationEnabled(true); context.setNotificationFilter(0x1F); // Test encoding and decoding roundtrip byte[] buffer = new byte[context.size()]; int encoded = context.encode(buffer, 0); assertEquals(context.size(), encoded);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0)