Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for setAddress (0.19 sec)

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

        }
    
    
        /**
         * Returns the raw IP address of this NbtAddress. The result is in network
         * byte order: the highest order byte of the address is in getAddress()[0].
         *
         * @return a four byte array
         */
        public byte[] getAddress () {
            byte[] addr = new byte[4];
            addr[ 0 ] = (byte) ( ( this.address >>> 24 ) & 0xFF );
            addr[ 1 ] = (byte) ( ( this.address >>> 16 ) & 0xFF );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 15.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    UniAddress addr;
                    try {
                        addr = getAddress();
                    } catch( UnknownHostException uhe ) {
                        throw new SmbException( url.toString(), uhe );
                    }
                    if( addr.getAddress() instanceof NbtAddress ) {
                        int code = ((NbtAddress)addr.getAddress()).getNameType();
                        if( code == 0x1d || code == 0x1b ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  3. src/main/java/jcifs/netbios/UniAddress.java

            }
            return null;
        }
    
    
        /**
         * Return the underlying <tt>NbtAddress</tt> or <tt>InetAddress</tt>.
         * 
         * @return wrapped address
         */
        public Object getAddress () {
            return this.addr;
        }
    
    
        /**
         * Return the hostname of this address such as "MYCOMPUTER".
         * 
         * @return the hostname associated with the address
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

                return calledName;
            }
            return null;
        }
    
        /**
         * Return the underlying <tt>NbtAddress</tt> or <tt>InetAddress</tt>.
         */
    
        public Object getAddress() {
            return addr;
        }
    
        /**
         * Return the hostname of this address such as "MYCOMPUTER".
         */
    
        public String getHostName() {
            if( addr instanceof NbtAddress ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 16.2K bytes
    - Viewed (0)
Back to top