Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for NbtAddress (0.19 sec)

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

     *
     * <pre>
     * 
     * InetAddress addr = NbtAddress.getByName("jmorris2").getInetAddress();
     * </pre>
     * <p>
     * From a UNIX platform with Samba installed you can perform similar
     * diagnostics using the <code>nmblookup</code> utility.
     *
     * @author Michael B. Allen
     * @see java.net.InetAddress
     * @since jcifs-0.1
     */
    
    public final class NbtAddress implements NetbiosAddress {
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            checkData();
            return groupName;
        }
    
    /** 
     * Checks the node type of this address.
     * @return {@link jcifs.smb1.netbios.NbtAddress#B_NODE},
     * {@link jcifs.smb1.netbios.NbtAddress#P_NODE}, {@link jcifs.smb1.netbios.NbtAddress#M_NODE},
     * {@link jcifs.smb1.netbios.NbtAddress#H_NODE}
     *
     * @throws UnknownHostException if the host cannot be resolved to find out.
     */ 
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/UniAddress.java

         */
        @Override
        public String nextCalledName ( CIFSContext tc ) {
            if ( this.addr instanceof NbtAddress ) {
                return ( (NbtAddress) this.addr ).nextCalledName(tc);
            }
            else if ( this.calledName != NbtAddress.SMBSERVER_NAME ) {
                this.calledName = NbtAddress.SMBSERVER_NAME;
                return this.calledName;
            }
            return null;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                NbtAddress.B_NODE,
                false,
                false,
                true,
                false,
                UNKNOWN_MAC_ADDRESS);
            cacheAddress(localName, this.localhostAddress, SmbConstants.FOREVER);
        }
    
    
        NbtAddress doNameQuery ( Name name, InetAddress svr ) throws UnknownHostException {
            NbtAddress addr;
    
            if ( name.hexCode == 0x1d && svr == null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

        private NbtAddress queryAddress;
    
        private int numberOfNames;
        private byte[] macAddress;
        private byte[] stats;
    
        NbtAddress[] addressArray;
    
        /* It is a little awkward but prudent to pass the quering address
         * so that it may be included in the list of results. IOW we do
         * not want to create a new NbtAddress object for this particular
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/Lmhosts.java

         * throw on a regular basis here.
         */
    
        public synchronized static NbtAddress getByName( String host ) {
            return getByName( new Name( host, 0x20, null ));
        }
    
        synchronized static NbtAddress getByName( Name name ) {
            NbtAddress result = null;
    
            try {
                if( FILENAME != null ) {
                    File f = new File( FILENAME );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/UniAddress.java

        public String nextCalledName() {
            if( addr instanceof NbtAddress ) {
                return ((NbtAddress)addr).nextCalledName();
            } else if( calledName != NbtAddress.SMBSERVER_NAME ) {
                calledName = NbtAddress.SMBSERVER_NAME;
                return calledName;
            }
            return null;
        }
    
        /**
         * Return the underlying <tt>NbtAddress</tt> or <tt>InetAddress</tt>.
         */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NodeStatusResponse.java

        private NbtAddress queryAddress;
    
        private int numberOfNames;
        private byte[] macAddress;
        private byte[] stats;
    
        NbtAddress[] addressArray;
    
    
        /*
         * It is a little awkward but prudent to pass the quering address
         * so that it may be included in the list of results. IOW we do
         * not want to create a new NbtAddress object for this particular
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/Lmhosts.java

         * @param tc
         * @return resolved name, null if not found
         */
        public synchronized NbtAddress getByName ( String host, CIFSContext tc ) {
            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
    
        synchronized NbtAddress getByName ( Name name, CIFSContext tc ) {
            NbtAddress result = null;
    
            try {
                if ( tc.getConfig().getLmHostsFileName() != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            throw new UnknownHostException( name.name );
        }
        NbtAddress[] getNodeStatus( NbtAddress addr ) throws UnknownHostException {
            int n, srcHashCode;
            NodeStatusRequest request;
            NodeStatusResponse response;
    
            response = new NodeStatusResponse( addr );
            request = new NodeStatusRequest(
                                new Name( NbtAddress.ANY_HOSTS_NAME, 0x00, null));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
Back to top