Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for addresses (0.05 sec)

  1. src/main/java/jcifs/NameServiceClient.java

        /**
         * Retrieve all addresses of a host by it's address. NetBIOS hosts can
         * have many names for a given IP address. The name and IP address make the
         * NetBIOS address. This provides a way to retrieve the other names for a
         * host with the same IP address.
         *
         * @param host
         *            hostname to lookup all addresses for
         * @return resolved addresses
         * @throws java.net.UnknownHostException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            loc.share = this.share;
            loc.dfsReferral = this.dfsReferral;
            loc.unc = this.unc;
            if (this.addresses != null) {
                loc.addresses = new UniAddress[this.addresses.length];
                System.arraycopy(this.addresses, 0, loc.addresses, 0, this.addresses.length);
            }
            loc.addressIndex = this.addressIndex;
            loc.type = this.type;
            return loc;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            assertNotNull(address, "Should return address for IP address");
            assertEquals("127.0.0.1", address.getHostAddress(), "Should return correct IP address");
        }
    
        @Test
        @DisplayName("Should get all addresses by name")
        void testGetAllByName() throws UnknownHostException {
            // When
            Address[] addresses = nameServiceClient.getAllByName("localhost", false);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            NbtAddress[] addresses = (NbtAddress[]) addressArrayField.get(response);
            assertEquals(numNames, addresses.length);
    
            // Verify each address has correct data
            for (int i = 0; i < numNames; i++) {
                assertNotNull(addresses[i]);
                assertTrue(addresses[i].isActive);
                assertFalse(addresses[i].groupName);
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            /**
             * Get the list of IP addresses for IP change notifications
             *
             * @return list of IP addresses
             */
            public List<String> getIpAddresses() {
                return ipAddresses;
            }
    
            /**
             * Sets the list of IP addresses for IP change notifications.
             *
             * @param ipAddresses the list of new IP addresses available for the witness service
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessNotification.java

             * Creates a new witness IP address.
             *
             * @param address the IP address
             */
            public WitnessIPAddress(InetAddress address) {
                this.address = address;
                this.flags = address.getAddress().length == 4 ? IPV4 : IPV6;
            }
    
            /**
             * Gets the IP address.
             *
             * @return the IP address
             */
            public InetAddress getAddress() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Address.java

         *
         * @return the resolved host name, or the host address if it could not be resolved
         */
        String getHostName();
    
        /**
         * Return the IP address as text such as "192.168.1.15".
         *
         * @return the ip address
         */
        String getHostAddress();
    
        /**
         * Converts this address to an InetAddress.
         *
         * @return this address as an InetAddress
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

         */
        public IdnDnsResolver() {
            super();
        }
    
        /**
         * Resolves the given host name to an array of IP addresses.
         * The host name is first converted to ASCII using IDN before resolution.
         *
         * @param host the host name to resolve
         * @return an array of IP addresses for the host
         * @throws UnknownHostException if the host name cannot be resolved
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            NbtAddress[] addresses = new NbtAddress[2];
            // Create dummy NbtAddress objects for testing toString
            addresses[0] = new NbtAddress(mockRecordName, 0xC0A80101, false, 0); // 192.168.1.1
            addresses[1] = new NbtAddress(mockRecordName, 0x0A000005, true, 1); // 10.0.0.5
            addrEntryField.set(nameQueryResponse, addresses);
    
            String expectedContains = ",addrEntry=[";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Given: Multiple addresses with different fail counts
            Address addr1 = mock(Address.class);
            when(addr1.getHostAddress()).thenReturn("10.0.0.1");
    
            Address addr2 = mock(Address.class);
            when(addr2.getHostAddress()).thenReturn("10.0.0.2");
    
            when(nameSvc.getAllByName(eq("test.server"), eq(true))).thenReturn(new Address[] { addr1, addr2 });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
Back to top