- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for addNewIPAddress (0.18 sec)
-
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) -
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)