Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getNameType (0.07 sec)

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

                NetbiosAddress[] addrs;
    
                try {
                    addrs = tc.getNameServiceClient().getNodeStatus(this);
                    if ( this.getNameType() == 0x1D ) {
                        for ( int i = 0; i < addrs.length; i++ ) {
                            if ( addrs[ i ].getNameType() == 0x20 ) {
                                return addrs[ i ].getHostName();
                            }
                        }
    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/smb/SmbResourceLocatorImpl.java

                else {
                    try {
                        NetbiosAddress nbaddr = getAddress().unwrap(NetbiosAddress.class);
                        if ( nbaddr != null ) {
                            int code = nbaddr.getNameType();
                            if ( code == 0x1d || code == 0x1b ) {
                                this.type = SmbConstants.TYPE_WORKGROUP;
                                return this.type;
                            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                return addrs;
            }
            catch ( UnknownHostException uhe ) {
                throw new UnknownHostException(
                    "no name with type 0x" + Hexdump.toHexString(addr.getNameType(), 2)
                            + ( ( ( addr.getName().getScope() == null ) || ( addr.getName().getScope().isEmpty() ) ) ? " with no scope"
                                    : " with scope " + addr.getName().getScope() )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                (( address >>> 0 ) & 0xFF );
        }
    
    /**
     * Returned the hex code associated with this name(e.g. 0x20 is for the file service)
     */
    
        public int getNameType() {
            return hostName.hexCode;
        }
    
    /** 
     * Returns a hashcode for this IP address. The hashcode comes from the IP address
     * and is not generated from the string representation. So because NetBIOS nodes
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
Back to top