Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for disconnect (0.12 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

            }
        }
    
    
        /**
         * Disconnect the transport
         * 
         * @param hard
         * @return whether conenction was in use
         * @throws IOException
         */
        public synchronized boolean disconnect ( boolean hard ) throws IOException {
            return disconnect(hard, true);
        }
    
    
        /**
         * Disconnect the transport
         * 
         * @param hard
         * @param inUse
    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/smb/SmbTreeConnection.java

                // Disconnect and try again from scratch.
    
                if ( log.isDebugEnabled() ) {
                    log.debug(String.format("Retrying (%d/%d) request %s", retries, maxRetries, request));
                }
    
                // should we disconnect the transport here? otherwise we make an additional attempt to detect that if the
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  4. internal/grid/muxserver.go

    		return pongMsg{Err: &err}
    	default:
    		atomic.StoreInt64(&m.LastPing, time.Now().Unix())
    		return pongMsg{}
    	}
    }
    
    // disconnect will disconnect the mux.
    // m.recvMu must be locked when calling this function.
    func (m *muxServer) disconnect(msg string, locked bool) {
    	if debugPrint {
    		fmt.Println("Mux", m.ID, "disconnecting. Reason:", msg)
    	}
    	if msg != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

                         * Someone removed the share while we were
                         * connected. Bastards! Disconnect this tree
                         * so that it reconnects cleanly should the share
                         * reappear in this client's lifetime.
                         */
                        log.debug("Disconnect tree on NT_STATUS_NETWORK_NAME_DELETED");
                        treeDisconnect(true, true);
                    }
    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. docs_src/websockets/tutorial003.py

            self.active_connections: List[WebSocket] = []
    
        async def connect(self, websocket: WebSocket):
            await websocket.accept()
            self.active_connections.append(websocket)
    
        def disconnect(self, websocket: WebSocket):
            self.active_connections.remove(websocket)
    
        async def send_personal_message(self, message: str, websocket: WebSocket):
            await websocket.send_text(message)
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 13:52:19 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  7. internal/grid/msg.go

    	// FlagPayloadIsErr is used to signify that the payload is a string error converted to byte slice.
    	// When a response is received, the mux is already removed from the remote.
    	OpResponse
    
    	// OpDisconnect instructs that remote wants to disconnect
    	OpDisconnect
    
    	// OpMerged is several operations merged into one.
    	OpMerged
    )
    
    const (
    	// FlagCRCxxh3 indicates that, the lower 32 bits of xxhash3 of the serialized
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. docs_src/websockets/tutorial003_py39.py

            self.active_connections: list[WebSocket] = []
    
        async def connect(self, websocket: WebSocket):
            await websocket.accept()
            self.active_connections.append(websocket)
    
        def disconnect(self, websocket: WebSocket):
            self.active_connections.remove(websocket)
    
        async def send_personal_message(self, message: str, websocket: WebSocket):
            await websocket.send_text(message)
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            }
            ftpAuthenticationHolder = null;
            for (final FTPClient ftpClient : ftpClientQueue) {
                try {
                    ftpClient.disconnect();
                } catch (final IOException e) {
                    logger.debug("Failed to disconnect FTPClient.", e);
                }
            }
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                        try {
                            log.warn("Exception during SSP authentication", se);
                            trans.disconnect(true);
                        }
                        catch ( IOException ioe ) {
                            log.debug("Disconnect failed");
                        }
                        setUid(0);
                        throw se;
                    }
    
    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