Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for InetSocketAddress (0.07 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

      }
    
      data class ConnectStart(
        override val timestampNs: Long,
        override val call: Call,
        val inetSocketAddress: InetSocketAddress,
        val proxy: Proxy?,
      ) : CallEvent()
    
      data class ConnectEnd(
        override val timestampNs: Long,
        override val call: Call,
        val inetSocketAddress: InetSocketAddress,
        val proxy: Proxy?,
        val protocol: Protocol?,
      ) : CallEvent() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

      override fun connectEnd(
        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
        protocol: Protocol?,
      ) = logEvent(ConnectEnd(System.nanoTime(), call, inetSocketAddress, proxy, protocol))
    
      override fun connectFailed(
        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
        protocol: Protocol?,
        ioe: IOException,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

        // Name proxy specification.
        var socketAddress = InetSocketAddress.createUnresolved("host", 1234)
        assertThat(socketAddress.socketHost).isEqualTo("host")
        socketAddress = InetSocketAddress.createUnresolved("127.0.0.1", 1234)
        assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1")
    
        // InetAddress proxy specification.
        socketAddress = InetSocketAddress(InetAddress.getByName("localhost"), 1234)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java

        @Override
        public RdmaConnection createConnection(InetSocketAddress remote, InetSocketAddress local) throws IOException {
            ensureInitialized();
            return new DisniRdmaConnection(remote, local, endpointGroup);
        }
    
        @Override
        public RdmaConnection connect(String hostname, int port) throws IOException {
            InetSocketAddress remoteAddress = new InetSocketAddress(hostname, port);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            RdmaProvider provider = RdmaProviderFactory.selectBestProvider();
    
            // Use localhost for testing - should work with TCP fallback
            InetSocketAddress address = new InetSocketAddress("localhost", 12345);
    
            try (RdmaConnection connection = provider.createConnection(address, null)) {
                assertNotNull(connection, "Connection should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. docs/smb3-features/05-rdma-smb-direct-design.md

         */
        Set<RdmaCapability> getSupportedCapabilities();
        
        /**
         * Create RDMA connection to remote endpoint
         */
        RdmaConnection createConnection(InetSocketAddress remote, 
                                       InetSocketAddress local) throws IOException;
        
        /**
         * Register memory region for RDMA operations
         */
        RdmaMemoryRegion registerMemory(ByteBuffer buffer, 
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

      }
    
      override fun connectEnd(
        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
        protocol: Protocol?,
      ) {
        logWithTime("connectEnd: $protocol")
    
        delegate.connectEnd(call, inetSocketAddress, proxy, protocol)
      }
    
      override fun connectFailed(
        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
        protocol: Protocol?,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

        }
    
        @Test
        public void testCreateConnection() throws Exception {
            InetSocketAddress remote = new InetSocketAddress("localhost", 445);
            InetSocketAddress local = null;
    
            RdmaConnection connection = provider.createConnection(remote, local);
            assertNotNull(connection, "Connection should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

        val latch4 = CountDownLatch(1)
        val listener1: EventListener =
          object : EventListener() {
            override fun connectStart(
              call: Call,
              inetSocketAddress: InetSocketAddress,
              proxy: Proxy,
            ) {
              try {
                // Wait for request2 to guarantee we make 2 separate connections to the server.
                latch1.await()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

         * @return new RDMA connection instance
         * @throws IOException if connection creation fails
         */
        RdmaConnection createConnection(InetSocketAddress remote, InetSocketAddress local) throws IOException;
    
        /**
         * Connect to a remote RDMA endpoint
         *
         * @param hostname remote hostname or IP address
         * @param port remote port number
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top