Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Address (0.2 sec)

  1. src/main/java/jcifs/Address.java

     * 
     * @author mbechler
     *
     */
    public interface Address {
    
        /**
         * 
         * @param type
         * @return instance for type, null if the type cannot be unwrapped
         */
        <T extends Address> T unwrap ( Class<T> type );
    
    
        /**
         * 
         * @return the resolved host name, or the host address if it could not be resolved
         */
        String getHostName ();
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 03 13:22:30 GMT 2018
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/NetbiosAddress.java

     * @see java.net.InetAddress
     * @since jcifs-0.1
     */
    public interface NetbiosAddress extends Address {
    
        /**
         * Determines if the address is a group address. This is also
         * known as a workgroup name or group name.
         * 
         * @param tc
         *            context to use
         * @return whether the given address is a group address
         *
         * @throws UnknownHostException
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/DelegatingNameServiceClient.java

        public NetbiosAddress getLocalHost () {
            return this.nscl.getLocalHost();
        }
    
    
        @Override
        public Address getByName ( String hostname ) throws UnknownHostException {
            return this.nscl.getByName(hostname);
        }
    
    
        @Override
        public Address getByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/UniAddress.java

            return null;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Address#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends Address> T unwrap ( Class<T> type ) {
            if ( this.addr instanceof Address ) {
                return ( (Address) this.addr ).unwrap(type);
            }
            else if ( this.getClass().isAssignableFrom(type) ) {
    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)
  5. src/main/java/jcifs/SmbTransportPool.java

         * 
         * @param tc
         *            context to use
         * @param address
         * @param port
         * @param exclusive
         *            whether to acquire an unshared connection
         * @return a transport connection to the target
         */
        SmbTransport getSmbTransport ( CIFSContext tc, Address address, int port, boolean exclusive );
    
    
        /**
         * Get transport connection
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 09:02:44 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmChallenge.java

        /**
         * 
         */
        private static final long serialVersionUID = 2484853610174848092L;
    
        /**
         * Challenge
         */
        public byte[] challenge;
    
        /**
         * Server address
         */
        public UniAddress dc;
    
    
        /**
         * @param challenge
         * @param dc
         */
        public NtlmChallenge ( byte[] challenge, UniAddress dc ) {
            this.challenge = challenge;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/Lmhosts.java

                    }
    
                    name = new Name(tc.getConfig(), line.substring(i, j), 0x20, null);
                    addr = new NbtAddress(name, ip, false, NbtAddress.B_NODE, false, false, true, true, NbtAddress.UNKNOWN_MAC_ADDRESS);
                    if ( log.isDebugEnabled() ) {
                        log.debug("Adding " + name + " with addr " + addr);
                    }
                    this.table.put(name, addr);
                }
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/NameServiceClient.java

         * NetBIOS address. This provides a way to retrieve the other names for a
         * host with the same IP address.
         *
         * @param addr
         *            the address to query
         * @return resolved addresses
         * @throws UnknownHostException
         *             if address cannot be resolved
         */
        NetbiosAddress[] getNbtAllByAddress ( NetbiosAddress addr ) throws UnknownHostException;
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbTransport.java

    
        /**
         * 
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close ();
    
    
        /**
         * @return the connected address
         */
        Address getRemoteAddress ();
    
    
        /**
         * @return the connected host name
         */
        String getRemoteHostName ();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmServlet.java

    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    
    import org.bouncycastle.util.encoders.Base64;
    
    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Config;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.netbios.UniAddress;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.6K bytes
    - Viewed (0)
Back to top