Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for getNewIPAddresses (0.16 seconds)

  1. src/main/java/jcifs/internal/witness/WitnessNotification.java

            this.timestamp = timestamp;
        }
    
        /**
         * Gets the list of new IP addresses.
         *
         * @return the new IP addresses
         */
        public List<WitnessIPAddress> getNewIPAddresses() {
            return newIPAddresses;
        }
    
        /**
         * Gets the list of old IP addresses.
         *
         * @return the old IP addresses
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. docs/smb3-features/06-witness-protocol-design.md

        public WitnessEventType getEventType() { return eventType; }
        public String getResourceName() { return resourceName; }
        public long getTimestamp() { return timestamp; }
        public List<WitnessIPAddress> getNewIPAddresses() { return newIPAddresses; }
        public List<WitnessIPAddress> getOldIPAddresses() { return oldIPAddresses; }
    }
    ```
    
    ### 4.3 Witness Client
    ```java
    package jcifs.internal.witness;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            assertEquals("TestResource", notification.getResourceName());
            assertTrue(notification.getTimestamp() <= System.currentTimeMillis());
            assertTrue(notification.getNewIPAddresses().isEmpty());
            assertTrue(notification.getOldIPAddresses().isEmpty());
            assertEquals(WitnessNotification.WITNESS_RESOURCE_STATE_UNKNOWN, notification.getFlags());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

            log.info("Client move requested for resource: {}", notification.getResourceName());
    
            List<WitnessNotification.WitnessIPAddress> newAddresses = notification.getNewIPAddresses();
            if (!newAddresses.isEmpty()) {
                // Attempt to connect to new address
                InetAddress newAddress = newAddresses.get(0).getAddress();
                scheduleAddressChange(newAddress);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
Back to Top