Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for getHostAddress (0.77 sec)

  1. src/main/java/jcifs/smb1/UniAddress.java

         *
         * @return the IP address as a string
         */
    
        public String getHostAddress() {
            if (addr instanceof NbtAddress) {
                return ((NbtAddress) addr).getHostAddress();
            }
            return ((InetAddress) addr).getHostAddress();
        }
    
        /**
         * Return the a text representation of this address such as
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            // Test witness address validation
            assertNotNull(mockWitnessAddress);
            assertTrue(mockWitnessAddress.getHostAddress().matches("\\d+\\.\\d+\\.\\d+\\.\\d+"));
    
            // Test service endpoint formatting
            String serviceEndpoint = "ncacn_ip_tcp:" + mockWitnessAddress.getHostAddress() + "[135]";
            assertNotNull(serviceEndpoint);
            assertTrue(serviceEndpoint.contains("ncacn_ip_tcp"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/InetAddresses.java

                v6Address.getHostAddress(), v6Address.getAddress(), interfaceIndex);
          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/PropertyConfigurationTest.java

            assertEquals(1, winsServers.length);
            assertEquals("192.168.1.1", winsServers[0].getHostAddress());
    
            // getBroadcastAddress() returns InetAddress, not String
            InetAddress broadcastAddr = testConfig.getBroadcastAddress();
            assertNotNull(broadcastAddr);
            assertEquals("192.168.1.255", broadcastAddr.getHostAddress());
    
            // getResolveOrder() returns List<ResolverType>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

                v6Address.getHostAddress(), v6Address.getAddress(), interfaceIndex);
          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                throws MalformedURLException, DcerpcException {
            return DcerpcHandle.getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", loc.getServer(), ep, address.getHostAddress()),
                    ctx);
        }
    
        static FileEntry[] doDfsRootEnum(final CIFSContext ctx, final SmbResourceLocator loc, final Address address) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NbtAddressTest.java

        }
    
        @Test
        void testGetHostAddress() {
            // Test getHostAddress for correct string format
            mockName = new Name(mockConfig, "TEST", 0x20, null);
            NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
            assertEquals("192.168.1.1", nbtAddress.getHostAddress());
        }
    
        @Test
        void testGetNameType() {
            // Test getNameType
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Address.java

         */
        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
         * @throws UnknownHostException if the host cannot be resolved
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessClient.java

                    request.setVersion(registration.getVersion().getValue());
                    request.setShareName(shareName);
                    request.setServerAddress(serverAddress.getHostAddress());
                    request.setFlags(registration.getFlags());
    
                    WitnessRegisterResponse response = rpcClient.register(request);
    
                    if (response != null && response.isSuccess()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            this.localAddr = localAddr;
            this.localPort = localPort;
    
            // Initialize circuit breaker with connection-specific name
            String circuitBreakerName = String.format("SMB-%s:%d", address.getHostAddress(), port);
            this.circuitBreaker = new SimpleCircuitBreaker(circuitBreakerName, 3, 2, 30000L);
    
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top