Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for toInetAddress (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/netbios/UniAddressTest.java

                verify(mockAddress, times(1)).toInetAddress();
            }
    
            @Test
            void shouldReturnNullWhenWrappedIsNeitherInetAddressNorAddress() throws Exception {
                // UniAddress only accepts InetAddress, NbtAddress (which implements Address), or Address
                // Testing with NbtAddress which doesn't return anything from toInetAddress
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NbtAddressTest.java

            // Test toInetAddress (delegates to getInetAddress)
            mockName = new Name(mockConfig, "TESTHOST", 0x20, null);
            NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
            InetAddress expectedInetAddress = InetAddress.getByName("192.168.1.1");
            assertEquals(expectedInetAddress, nbtAddress.toInetAddress());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

         */
        private InetAddress discoverWitnessService() throws IOException {
            // Try the same server first
            InetAddress serverAddress = transport.getRemoteAddress().toInetAddress();
    
            if (isWitnessServiceAvailable(serverAddress)) {
                return serverAddress;
            }
    
            // Query for cluster witness service via DNS
            try {
    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