Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for doConnect (0.06 sec)

  1. src/main/java/jcifs/smb1/util/transport/Transport.java

                    switch (state) {
                        case 1: /* doConnect never returned */
                            state = 0;
                            thread = null;
                            throw new TransportException( "Connection timeout" );
                        case 2:
                            if (te != null) { /* doConnect throw Exception */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

                    t.wait(timeout); /* wait for doConnect */
    
                    st = this.state;
                    switch ( st ) {
                    case 1: /* doConnect never returned */
                        this.state = 6;
                        throw new ConnectionTimeoutException("Connection timeout");
                    case 2:
                        if ( this.te != null ) { /* doConnect throw Exception */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        }
        private void negotiate( int port, ServerMessageBlock resp ) throws IOException {
            /* We cannot use Transport.sendrecv() yet because
             * the Transport thread is not setup until doConnect()
             * returns and we want to supress all communication
             * until we have properly negotiated.
             */
            synchronized (sbuf) {
                if (port == 139) {
                    ssn139();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

            }
    
            if ( referral != null ) {
                t.markDomainDfs();
            }
    
            try {
                if ( log.isTraceEnabled() ) {
                    log.trace("doConnect: " + addr);
                }
                t.treeConnect(null, null);
                return t.acquire();
            }
            catch ( SmbAuthException sae ) {
                log.debug("Authentication failed", sae);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

            } catch( SmbException se ) {
                throw se;
            } catch( IOException ioe ) {
                throw new SmbException( "Failed to connect to server", ioe );
            }
        }
        void doConnect() throws IOException {
            SmbTransport trans;
            UniAddress addr;
    
            addr = getAddress();
            if (tree != null) {
                trans = tree.session.transport;
            } else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

        }
    
    
        private SmbNegotiation negotiate ( int prt ) throws IOException {
            /*
             * We cannot use Transport.sendrecv() yet because
             * the Transport thread is not setup until doConnect()
             * returns and we want to suppress all communication
             * until we have properly negotiated.
             */
            synchronized ( this.inLock ) {
                if ( prt == 139 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top