Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getNodeStatus (0.2 sec)

  1. src/test/java/jcifs/NameServiceClientTest.java

            NetbiosAddress[] expectedAddresses = { mock(NetbiosAddress.class) };
            when(nameServiceClient.getNodeStatus(nbtAddress)).thenReturn(expectedAddresses);
    
            // Act
            NetbiosAddress[] actualAddresses = nameServiceClient.getNodeStatus(nbtAddress);
    
            // Assert
            assertNotNull(actualAddresses);
            assertEquals(1, actualAddresses.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/NameServiceClient.java

         *
         * @param nbtAddress the NetBIOS address to query
         * @return the node status responses
         * @throws UnknownHostException if the node status cannot be retrieved
         */
        NetbiosAddress[] getNodeStatus(NetbiosAddress nbtAddress) throws UnknownHostException;
    
        /**
         * Lookup addresses for the given <code>hostname</code>.
         *
         * @param hostname the hostname to resolve
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                        }
                        break;
                    }
                } catch (final IOException ioe) {}
            }
            throw new UnknownHostException(name.name);
        }
    
        NbtAddress[] getNodeStatus(final NbtAddress addr) throws UnknownHostException {
            int n, srcHashCode;
            NodeStatusRequest request;
            NodeStatusResponse response = new NodeStatusResponse(addr);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         */
    
        public static NbtAddress[] getAllByAddress(final NbtAddress addr) throws UnknownHostException {
            try {
                final NbtAddress[] addrs = CLIENT.getNodeStatus(addr);
                cacheAddressArray(addrs);
                return addrs;
            } catch (final UnknownHostException uhe) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    log.debug("Failed to lookup name", ioe);
                }
            }
            throw new UnknownHostException(name.name);
        }
    
        @Override
        public NbtAddress[] getNodeStatus(final NetbiosAddress addr) throws UnknownHostException {
            final NodeStatusResponse response = new NodeStatusResponse(this.transportContext.getConfig(), addr.unwrap(NbtAddress.class));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NbtAddress.java

                this.calledName = SMBSERVER_NAME;
            } else if (SMBSERVER_NAME.equals(this.calledName)) {
                NetbiosAddress[] addrs;
    
                try {
                    addrs = tc.getNameServiceClient().getNodeStatus(this);
                    if (this.getNameType() == 0x1D) {
                        for (final NetbiosAddress addr : addrs) {
                            if (addr.getNameType() == 0x20) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top