Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getNewIPAddresses (0.12 sec)

  1. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (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;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  3. 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
         */
    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. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top