Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ensureConnected (0.12 sec)

  1. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                }
                try ( SmbTransportImpl trans = getSmbTransport(tf, addr, port, exclusive, forceSigning).unwrap(SmbTransportImpl.class) ) {
                    try {
                        trans.ensureConnected();
                    }
                    catch ( IOException e ) {
                        removeTransport(trans);
                        throw e;
                    }
                    return trans.acquire();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportInternal.java

    
        /**
         * @return whether the transport was connected
         * @throws SmbException
         * @throws IOException
         * 
         */
        boolean ensureConnected () throws IOException;
    
    
        /**
         * @param ctx
         * @param name
         * @param targetHost
         * @param targetDomain
         * @param rn
         * @return dfs referral
         * @throws SmbException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

                                        .unwrap(SmbTransportImpl.class);
                                transport.ensureConnected();
                                return transport;
                            }
                            catch ( IOException ex ) {
                                log.debug("Connection failed " + dr.getServer(), ex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

                    .unwrap(SmbTransportInternal.class) ) {
                if ( !tf.hasDefaultCredentials() ) {
                    trans.ensureConnected();
                    log.warn(
                        "Default credentials (jcifs.smb.client.username/password)" + " not specified. SMB signing may not work propertly."
                                + "  Skipping DC interrogation.");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

                synchronized ( transport ) {
    
                    // this needs to be done before the reference to the remote hostname later
                    transport.ensureConnected();
    
                    if ( waitForState(transport) == 2 ) {
                        // already connected
                        return null;
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

                  SmbSessionImpl session = th.getSession();
                  SmbTransportImpl transport = session.getTransport();
                  SmbTreeImpl t = getTree() ) {
                transport.ensureConnected();
    
                String rpath = request != null ? request.getPath() : loc.getUNCPath();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                Arrays.fill(this.sbuf, (byte) 0);
            }
        }
    
    
        /**
         * Connect the transport
         *
         * @throws SmbException
         */
        @Override
        public boolean ensureConnected () throws SmbException {
            try {
                return super.connect(this.transportContext.getConfig().getResponseTimeout());
            }
            catch ( TransportException te ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                            throw new SmbException(ie.getMessage(), ie);
                        }
                    }
    
                    try {
                        trans.ensureConnected();
    
                        /*
                         * Session Setup And X Request / Response
                         */
    
                        if ( log.isDebugEnabled() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
Back to top