Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,378 for connectTo (0.17 sec)

  1. platforms/core-runtime/messaging/src/integTest/groovy/org/gradle/internal/remote/internal/hub/MessageHubIntegrationTest.groovy

                hub.addHandler(channel, handler)
            }
    
            def connectTo(Participant other) {
                def connector = new TestConnector()
                hub.addConnection(connector.connectionA)
                other.hub.addConnection(connector.connectionB)
            }
    
            def stop() {
                hub.stop()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    				<-o.blockConnect
    			}
    			c.connect()
    		}()
    	}
    	if debugPrint {
    		fmt.Println(c.Local, "->", c.Remote, "Should local connect:", c.shouldConnect(), "side:", c.side)
    	}
    	if debugReqs {
    		fmt.Println("Created connection", c.String())
    	}
    	return c
    }
    
    // Subroute returns a static subroute for the connection.
    func (c *Connection) Subroute(s string) *Subroute {
    	if c == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Connection.kt

     */
    interface Connection {
      /** Returns the route used by this connection. */
      fun route(): Route
    
      /**
       * Returns the socket that this connection is using. Returns an
       * [SSL socket][javax.net.ssl.SSLSocket] if this connection is HTTPS. If this is an HTTP/2
       * connection the socket may be shared by multiple concurrent calls.
       */
      fun socket(): Socket
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection.go

    	"net/http"
    	"sync"
    	"time"
    
    	"github.com/moby/spdystream"
    	"k8s.io/apimachinery/pkg/util/httpstream"
    	"k8s.io/klog/v2"
    )
    
    // connection maintains state about a spdystream.Connection and its associated
    // streams.
    type connection struct {
    	conn             *spdystream.Connection
    	streams          map[uint32]httpstream.Stream
    	streamLock       sync.Mutex
    	newStreamHandler httpstream.NewStreamHandler
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 01 15:04:07 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  5. pkg/test/loadbalancersim/network/connection.go

    }
    
    func (c *connection) Name() string {
    	return c.helper.Name()
    }
    
    func (c *connection) TotalRequests() uint64 {
    	return c.helper.TotalRequests()
    }
    
    func (c *connection) ActiveRequests() uint64 {
    	return c.helper.ActiveRequests()
    }
    
    func (c *connection) Latency() *timeseries.Instance {
    	return c.helper.Latency()
    }
    
    func (c *connection) Request(onDone func()) {
    	c.helper.Request(c.request, onDone)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

            }
    
            // Wait for an in-flight connect to complete or fail.
            if (connectResult == null) {
              connectResult = awaitTcpConnect(awaitTimeoutNanos, TimeUnit.NANOSECONDS) ?: continue
            }
    
            if (connectResult.isSuccess) {
              // We have a connected TCP connection. Cancel and defer the racing connects that all lost.
              cancelInFlightConnects()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonConnector.java

    import org.gradle.launcher.daemon.context.DaemonContext;
    
    import javax.annotation.Nullable;
    
    /**
     * A daemon connector establishes a connection to a daemon.
     */
    public interface DaemonConnector {
    
        /**
         * Attempts to connect to a daemon at the given address.
         *
         * @return A connection to a matching daemon, or null if not running.
         */
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/Connection.java

     * <li>should allow stopping or requesting stopping from a different thread than receiving/dispatching</li>
     * <li>don't guarantee allowing multiple threads dispatching</li>
     * </ul>
     */
    public interface Connection<T> extends Dispatch<T>, Receive<T>, Stoppable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DefaultDaemonConnectorTest.groovy

            expect:
            def connection = connector.maybeConnect({it.pid == 1} as DummyExplainingSpec)
            connection && connection.connection.num == 1
        }
    
        def "connect() returns connection to any existing daemon that matches spec"() {
            given:
            startIdleDaemon()
            startIdleDaemon()
    
            expect:
            def connection = connector.connect({it.pid < 12} as ExplainingSpec)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/TcpConnectorTest.groovy

            def connection = outgoingConnector.connect(acceptor.address).create(serializer)
            thread.blockUntil.connected
    
            then:
            1 * action.execute(!null) >> { instant.connected }
    
            cleanup:
            acceptor?.stop()
            connection?.stop()
        }
    
        def "client throws exception when cannot connect to server"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 10.4K bytes
    - Viewed (0)
Back to top