Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 357 for invoked (0.03 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

    package okhttp3.sse
    
    import okhttp3.Response
    
    abstract class EventSourceListener {
      /**
       * Invoked when an event source has been accepted by the remote peer and may begin transmitting
       * events.
       */
      open fun onOpen(
        eventSource: EventSource,
        response: Response,
      ) {
      }
    
      /**
       * Invoked when a new event has been sent to the client.
       *
       * @param id The `id` line of the event, might be null.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

      ) {
      }
    
      /**
       * Invoked immediately after a DNS lookup.
       *
       * This method is invoked after [dnsStart].
       */
      open fun dnsEnd(
        call: Call,
        domainName: String,
        inetAddressList: List<@JvmSuppressWildcards InetAddress>,
      ) {
      }
    
      /**
       * Invoked just prior to initiating a socket connection.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionListener.kt

    internal abstract class ConnectionListener {
      /**
       * Invoked as soon as a call causes a connection to be started.
       */
      open fun connectStart(
        route: Route,
        call: Call,
      ) {}
    
      /**
       * Invoked when a connection fails to be established.
       */
      open fun connectFailed(
        route: Route,
        call: Call,
        failure: IOException,
      ) {}
    
      /**
       * Invoked as soon as a connection is successfully established.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocketListener.kt

      }
    
      /** Invoked when a binary (type `0x2`) message has been received. */
      open fun onMessage(
        webSocket: WebSocket,
        bytes: ByteString,
      ) {
      }
    
      /**
       * Invoked when the remote peer has indicated that no more incoming messages will be transmitted.
       */
      open fun onClosing(
        webSocket: WebSocket,
        code: Int,
        reason: String,
      ) {
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

      protected AbstractExecutionThreadService() {}
    
      /**
       * Start the service. This method is invoked on the execution thread.
       *
       * <p>By default this method does nothing.
       */
      protected void startUp() throws Exception {}
    
      /**
       * Run the service. This method is invoked on the execution thread. Implementations must respond
       * to stop requests. You could poll for lifecycle changes in a work loop:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSizeTester.java

    import com.google.common.collect.testing.AbstractCollectionTester;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code size()} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapSizeTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractMapTester;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code size()} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

      protected AbstractExecutionThreadService() {}
    
      /**
       * Start the service. This method is invoked on the execution thread.
       *
       * <p>By default this method does nothing.
       */
      protected void startUp() throws Exception {}
    
      /**
       * Run the service. This method is invoked on the execution thread. Implementations must respond
       * to stop requests. You could poll for lifecycle changes in a work loop:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
                  default:
                    throw new AssertionError("Should not have been invoked again");
                }
              }
            };
    
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.next());
    
        // verify idempotence of hasNext()
        assertTrue(iter.hasNext());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/FutureCallback.java

     *
     * @author Anthony Zana
     * @since 10.0
     */
    @GwtCompatible
    public interface FutureCallback<V extends @Nullable Object> {
      /** Invoked with the result of the {@code Future} computation when it is successful. */
      void onSuccess(@ParametricNullness V result);
    
      /**
       * Invoked when a {@code Future} computation fails or is canceled.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top