Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getNextAddress (0.05 sec)

  1. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                } catch (final UnknownHostException e) {
                    throw new CIFSException("Failed to lookup address for name " + host, e);
                }
            }
    
            return getNextAddress();
        }
    
        Address getNextAddress() {
            Address addr = null;
            if (this.addressIndex < this.addresses.length) {
                addr = this.addresses[this.addressIndex++];
            }
            return addr;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

                addresses = UniAddress.getAllByName(host, true);
            } else {
                addresses = UniAddress.getAllByName(host, false);
            }
    
            return getNextAddress();
        }
    
        UniAddress getNextAddress() {
            UniAddress addr = null;
            if (addressIndex < addresses.length) {
                addr = addresses[addressIndex++];
            }
            return addr;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertSame(a2, l3.getAddress());
            verify(nsc, times(1)).getAllByName("server", true);
            assertTrue(l3.hasNextAddress());
            assertSame(a3, l3.getNextAddress());
            assertFalse(l3.hasNextAddress());
    
            // UnknownHostException yields CIFSException
            when(nsc.getAllByName("badhost", true)).thenThrow(new UnknownHostException("nope"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top