Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NodeStatusResponse (0.08 sec)

  1. src/main/java/jcifs/netbios/NodeStatusResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.netbios;
    
    import jcifs.Configuration;
    import jcifs.util.Strings;
    
    class NodeStatusResponse extends NameServicePacket {
    
        private final NbtAddress queryAddress;
    
        private int numberOfNames;
        private final byte[] macAddress;
        private byte[] stats;
    
        NbtAddress[] addressArray;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.netbios;
    
    import java.io.UnsupportedEncodingException;
    
    class NodeStatusResponse extends NameServicePacket {
    
        private final NbtAddress queryAddress;
    
        private int numberOfNames;
        private final byte[] macAddress;
        private byte[] stats;
    
        NbtAddress[] addressArray;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            mockQueryAddress.address =
                    ((addrBytes[0] & 0xFF) << 24) | ((addrBytes[1] & 0xFF) << 16) | ((addrBytes[2] & 0xFF) << 8) | (addrBytes[3] & 0xFF);
    
            // Create NodeStatusResponse instance
            response = new NodeStatusResponse(mockConfig, mockQueryAddress);
        }
    
        @Test
        void constructor_shouldInitializeFields() throws Exception {
            // Verify configuration is set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NbtAddressTest.java

            when(mockNetbiosAddress20.getHostName()).thenReturn("ACTUAL_SERVER_NAME");
    
            NetbiosAddress[] nodeStatusResponse = { mock(NetbiosAddress.class), mockNetbiosAddress20 };
            when(mockNameServiceClient.getNodeStatus(nbtAddress)).thenReturn(nodeStatusResponse);
    
            nbtAddress.calledName = NbtAddress.SMBSERVER_NAME; // Manually set for this test case
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        }
    
        NbtAddress[] getNodeStatus(final NbtAddress addr) throws UnknownHostException {
            int n, srcHashCode;
            NodeStatusRequest request;
            NodeStatusResponse response = new NodeStatusResponse(addr);
            request = new NodeStatusRequest(new Name(NbtAddress.ANY_HOSTS_NAME, 0x00, null));
            request.addr = addr.getInetAddress();
    
            n = RETRY_COUNT;
            while (n-- > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            }
            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));
            final NodeStatusRequest request = new NodeStatusRequest(this.transportContext.getConfig(),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NbtAddress.java

                final boolean isInConflict, final boolean isActive, final boolean isPermanent, final byte[] macAddress) {
    
            /*
             * The NodeStatusResponse.readNodeNameArray method may also set this
             * information. These two places where node status data is populated should
             * be consistent. Be carefull!
             */
            this.hostName = hostName;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                final boolean isInConflict, final boolean isActive, final boolean isPermanent, final byte[] macAddress) {
    
            /* The NodeStatusResponse.readNodeNameArray method may also set this
             * information. These two places where node status data is populated should
             * be consistent. Be carefull!
             */
            this.hostName = hostName;
    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