Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addNewIPAddress (0.05 sec)

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

            InetAddress ipv4 = InetAddress.getByName("192.168.1.100");
            InetAddress ipv6 = InetAddress.getByName("2001:db8::1");
    
            notification.addNewIPAddress(ipv4);
            notification.addNewIPAddress(ipv6);
            notification.addOldIPAddress(ipv4);
    
            List<WitnessNotification.WitnessIPAddress> newAddresses = notification.getNewIPAddresses();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            // Create and process a notification
            WitnessNotification notification = new WitnessNotification(WitnessEventType.CLIENT_MOVE, "\\\\server\\share");
            notification.addNewIPAddress(InetAddress.getByName("192.168.1.101"));
    
            client.processNotification(notification);
    
            // Verify notification was delivered
            assertTrue(listener.waitForNotification(1000));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessNotification.java

                return (flags & IPV6) != 0;
            }
        }
    
        /**
         * Adds a new IP address to the notification.
         *
         * @param address the new IP address
         */
        public void addNewIPAddress(InetAddress address) {
            newIPAddresses.add(new WitnessIPAddress(address));
        }
    
        /**
         * Adds an old IP address to the notification.
         *
         * @param address the old IP address
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. docs/smb3-features/06-witness-protocol-design.md

            public int getFlags() { return flags; }
            public boolean isIPv4() { return (flags & IPV4) != 0; }
            public boolean isIPv6() { return (flags & IPV6) != 0; }
        }
        
        public void addNewIPAddress(InetAddress address) {
            newIPAddresses.add(new WitnessIPAddress(address));
        }
        
        public void addOldIPAddress(InetAddress address) {
            oldIPAddresses.add(new WitnessIPAddress(address));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
Back to top