Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getNameType (0.09 sec)

  1. src/main/java/jcifs/NetbiosName.java

         * @return the name
         */
        String getName ();
    
    
        /**
         * @return the scope id
         */
        String getScope ();
    
    
        /**
         * @return the name type
         */
        int getNameType ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/netbios/Name.java

         */
        @Override
        public String getScope () {
            return this.scope;
        }
    
    
        /**
         * 
         * @return the name type
         */
        @Override
        public int getNameType () {
            return this.hexCode;
        }
    
    
        /**
         * 
         * @param cfg
         * @param name
         * @param hexCode
         * @param scope
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/NetbiosAddress.java

    
        /**
         * Returned the hex code associated with this name(e.g. 0x20 is for the file service)
         * 
         * @return the name type
         */
        int getNameType ();
    
    
        /**
         * @return the name for this address
         */
        NetbiosName getName ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

                        throw new SmbException( url.toString(), uhe );
                    }
                    if( addr.getAddress() instanceof NbtAddress ) {
                        int code = ((NbtAddress)addr.getAddress()).getNameType();
                        if( code == 0x1d || code == 0x1b ) {
                            type = TYPE_WORKGROUP;
                            return type;
                        }
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top