Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for registerForNotifications (0.86 sec)

  1. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            TestNotificationListener listener = new TestNotificationListener();
    
            CompletableFuture<WitnessRegistration> future = client.registerForNotifications("\\\\server\\share", serverAddress, listener);
    
            WitnessRegistration registration = future.get(5, TimeUnit.SECONDS);
    
            assertNotNull(registration);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

            
            // Registration monitoring
            scheduler.scheduleAtFixedRate(this::monitorRegistrations, 10, 10, TimeUnit.SECONDS);
        }
        
        public CompletableFuture<WitnessRegistration> registerForNotifications(
                String shareName, 
                InetAddress serverAddress,
                WitnessNotificationListener listener) {
            
            return CompletableFuture.supplyAsync(() -> {
                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessClient.java

         * @param serverAddress the server address
         * @param listener the notification listener
         * @return a future that completes with the registration
         */
        public CompletableFuture<WitnessRegistration> registerForNotifications(String shareName, InetAddress serverAddress,
                WitnessNotificationListener listener) {
    
            return CompletableFuture.supplyAsync(() -> {
                try {
                    // Create registration
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top