Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for disconnect (0.2 sec)

  1. 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
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  2. 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 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

        SocketPolicy.KEEP_OPEN -> KeepOpen
        SocketPolicy.DISCONNECT_AT_END -> DisconnectAtEnd
        SocketPolicy.DISCONNECT_AT_START -> DisconnectAtStart
        SocketPolicy.DISCONNECT_AFTER_REQUEST -> DisconnectAfterRequest
        SocketPolicy.DISCONNECT_DURING_REQUEST_BODY -> DisconnectDuringRequestBody
        SocketPolicy.DISCONNECT_DURING_RESPONSE_BODY -> DisconnectDuringResponseBody
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/SocketPolicy.kt

     */
    package okhttp3.mockwebserver
    
    enum class SocketPolicy {
      SHUTDOWN_SERVER_AFTER_RESPONSE,
      KEEP_OPEN,
      DISCONNECT_AT_END,
      UPGRADE_TO_SSL_AT_END,
      DISCONNECT_AT_START,
      DISCONNECT_AFTER_REQUEST,
      DISCONNECT_DURING_REQUEST_BODY,
      DISCONNECT_DURING_RESPONSE_BODY,
      DO_NOT_READ_REQUEST_BODY,
      FAIL_HANDSHAKE,
      SHUTDOWN_INPUT_AT_END,
      SHUTDOWN_OUTPUT_AT_END,
      STALL_SOCKET_AT_START,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1K bytes
    - Viewed (0)
  5. 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
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
  6. 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)
    
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. internal/grid/muxserver.go

    func (m *muxServer) checkSeq(seq uint32) (ok bool) {
    	if seq != m.RecvSeq {
    		if debugPrint {
    			fmt.Printf("expected sequence %d, got %d\n", m.RecvSeq, seq)
    		}
    		m.disconnect(fmt.Sprintf("receive sequence number mismatch. want %d, got %d", m.RecvSeq, seq))
    		return false
    	}
    	m.RecvSeq++
    	return true
    }
    
    func (m *muxServer) message(msg message) {
    	if debugPrint {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/api/mockwebserver.api

    	public static final field DISCONNECT_AFTER_REQUEST Lokhttp3/mockwebserver/SocketPolicy;
    	public static final field DISCONNECT_AT_END Lokhttp3/mockwebserver/SocketPolicy;
    	public static final field DISCONNECT_AT_START Lokhttp3/mockwebserver/SocketPolicy;
    	public static final field DISCONNECT_DURING_REQUEST_BODY Lokhttp3/mockwebserver/SocketPolicy;
    	public static final field DISCONNECT_DURING_RESPONSE_BODY Lokhttp3/mockwebserver/SocketPolicy;
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  9. cmd/perf-tests.go

    // the last peer to connect and the first peer to disconnect.
    // This is to improve the RX throughput accuracy.
    type netPerfRX struct {
    	RX                uint64    // RX bytes
    	lastToConnect     time.Time // time at which last peer to connect to us
    	firstToDisconnect time.Time // time at which the first peer disconnects from us
    	RXSample          uint64    // RX bytes between lastToConnect and firstToDisconnect
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                     * sent. Unfortunately calling disconnect() doesn't always
                                     * actually shutdown the connection before other threads
                                     * have committed themselves (e.g. InterruptTest example).
                                     */
                                    try { transport.disconnect(true); } catch (Exception e) {}
                                }
        
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
Back to top