Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 192 for connect0 (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        assertEvents(
          "plan 1 TCP connected",
          "plan 0 cancel",
          "plan 1 TLS connecting...",
          "plan 1 TLS connect failed",
          "plan 2 TCP connecting...",
          "plan 2 TCP connected",
          "plan 2 TLS connecting...",
          "plan 2 TLS connected",
        )
    
        taskFaker.advanceUntil(270.ms)
        assertEvents(
          "plan 0 TCP connect canceled",
        )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 20.9K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

    import okhttp3.internal.tls.OkHostnameVerifier
    import okhttp3.internal.toHostHeader
    
    /**
     * A single attempt to connect to a remote server, including these steps:
     *
     *  * [TCP handshake][connectSocket]
     *  * Optional [CONNECT tunnels][connectTunnel]. When using an HTTP proxy to reach an HTTPS server
     *    we must send a `CONNECT` request, and handle authorization challenges from the proxy.
     *  * Optional [TLS handshake][connectTls].
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 19.3K bytes
    - Click Count (2)
  3. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

        void testTreeConnectAndDisconnect() throws Exception {
            SmbTree tree = new SmbTree(session, "testShare", "testService");
    
            // Mock transport.connect() to succeed
            doNothing().when(transport).connect();
    
            // Setup response for tree connect
            doAnswer(invocation -> {
                ServerMessageBlock request = invocation.getArgument(0);
                ServerMessageBlock response = invocation.getArgument(1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

            return sb.toString();
        }
    
        /**
         * Checks if the client is connected to the witness service.
         *
         * @return true if connected
         */
        public boolean isConnected() {
            return connected && rpcHandle != null;
        }
    
        @Override
        public void close() {
            if (connected && rpcHandle != null) {
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/util/transport/Transport.java

                if (n <= 0) {
                    break;
                }
                i += n;
            }
    
            return i;
        }
    
        /* state values
         * 0 - not connected
         * 1 - connecting
         * 2 - run connected
         * 3 - connected
         * 4 - error
         */
        int state = 0;
    
        String name = "Transport" + id++;
        Thread thread;
        TransportException te;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                            return null;
                        }
                        // failure to connect
                        throw new SmbException("Tree disconnected while waiting for connection");
                    }
                    if (before == 2) {
                        // concurrently connected
                        return null;
                    }
    
                    if (log.isDebugEnabled()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            this.connection = connection;
            requestProperties = new HashMap();
        }
    
        @Override
        public void connect() throws IOException {
            if (connected) {
                return;
            }
            connection.connect();
            connected = true;
        }
    
        private void handshake() throws IOException {
            if (handshakeComplete) {
                return;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

        public SmbTreeHandleImpl connectWrapException(final SmbResourceLocatorImpl loc) throws SmbException {
            try {
                return connect(loc);
            } catch (final SmbException se) {
                throw se;
            } catch (final IOException ioe) {
                throw new SmbException("Failed to connect to server", ioe);
            }
        }
    
        /**
         * @param loc
         * @return tree handle
         * @throws IOException
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  9. src/main/java/jcifs/util/transport/Transport.java

        /**
         * Connect the transport
         *
         * @param timeout the maximum time to wait for the connection in milliseconds
         * @return whether the transport was connected
         * @throws TransportException if the connection fails
         */
        public synchronized boolean connect(final long timeout) throws TransportException {
            int st = this.state;
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

            this.endpoint = new Object();
        }
    
        @Override
        public void connect() throws IOException {
            try {
                // In real implementation, this would establish the RDMA connection:
                // endpoint.connect(remoteAddress, 1000);  // 1 second timeout
    
                state = RdmaConnectionState.CONNECTED;
                log.debug("DiSNI RDMA connection established to {}", remoteAddress);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top