Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getNodeType (0.05 sec)

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

            assertEquals("TESTHOST", nbtAddress.getHostName());
            assertArrayEquals(new byte[] { (byte) 192, (byte) 168, (byte) 1, (byte) 1 }, nbtAddress.getAddress());
            // Don't test isGroupAddress and getNodeType here as they don't need context for known hosts
        }
    
        @Test
        void testConstructorWithAllParameters() throws UnknownHostException {
            // Test the constructor with all parameters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            byte[] nodeAddress = addrEntry[0].getAddress();
            assertNotNull(nodeAddress, "Node address should not be null");
            // Note: Cannot test isGroupAddress() and getNodeType() without CIFSContext in unit test
            // These methods require network operations and are integration test material
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/NetbiosAddress.java

         *         {@link jcifs.netbios.NbtAddress#H_NODE}
         *
         * @throws UnknownHostException
         *             if the host cannot be resolved to find out.
         */
        int getNodeType(CIFSContext tc) throws UnknownHostException;
    
        /**
         * Determines if this address in the process of being deleted.
         *
         * @param tc
         *            context to use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

            final XPath xPathApi = getXPathAPI().createXPath(f -> {});
            xPathApi.setNamespaceContext(new DefaultNamespaceContext(doc.getNodeType() == Node.DOCUMENT_NODE ? doc.getDocumentElement() : doc));
            return xPathApi.evaluateExpression(xpath, doc, XPathNodes.class);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtAddress.java

        }
    
        @Override
        public boolean isGroupAddress(final CIFSContext tc) throws UnknownHostException {
            checkData(tc);
            return this.groupName;
        }
    
        @Override
        public int getNodeType(final CIFSContext tc) throws UnknownHostException {
            checkData(tc);
            return this.nodeType;
        }
    
        @Override
        public boolean isBeingDeleted(final CIFSContext tc) throws UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         * {@link jcifs.smb1.netbios.NbtAddress#H_NODE}
         *
         * @throws UnknownHostException if the host cannot be resolved to find out.
         */
    
        public int getNodeType() throws UnknownHostException {
            checkData();
            return nodeType;
        }
    
        /**
         * Determines if this address in the process of being deleted.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
Back to top