Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for connect0 (0.24 sec)

  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",
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 20.9K bytes
    - Viewed (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].
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/Network.java

      Graph<N> asGraph();
    
      //
      // Network properties
      //
    
      /**
       * Returns true if the edges in this network are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      boolean isDirected();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  6. 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;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. 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()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  8. 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;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            setTree(c, tree);
    
            SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(ctx, smbUrl("smb://host/share/"));
            SmbTreeHandle h = c.connect(loc);
            assertNotNull(h);
            // No host connect attempted as we're already connected
            verify(c, never()).connectHost(any(), anyString());
        }
    
        @Test
        @DisplayName("getSession returns null when no tree is present")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top