Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for doConnect (0.32 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 */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 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 */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 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();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  4. 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 ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  5. 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);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
  6. 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 {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top