Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for dispatchTo (0.19 sec)

  1. subprojects/core/src/main/java/org/gradle/initialization/BuildEventConsumer.java

    import org.gradle.internal.dispatch.Dispatch;
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * A consumer for build events provided by the build requester. This can be used to forward events to the build requester.
     */
    @ServiceScope(Scope.BuildSession.class)
    public interface BuildEventConsumer extends Dispatch<Object> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:55:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/process/internal/AbstractWorkerProcessIntegrationSpec.groovy

            Throwable ex
            final TestListenerInterface dispatch
    
            public RemoteExceptionListener(TestListenerInterface dispatch) {
                this.dispatch = dispatch
            }
    
            void send(String message, int count) {
                try {
                    dispatch.send(message, count)
                } catch (Throwable e) {
                    ex = e
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/ClientProvidedPhasedActionRunnerTest.groovy

            1 * buildFinishedAction.execute(_) >> result2
            1 * buildEventConsumer.dispatch({
                it instanceof PhasedBuildActionResult &&
                    it.phase == PhasedActionResult.Phase.PROJECTS_LOADED &&
                    it.result == serializedResult1
            })
            1 * buildEventConsumer.dispatch({
                it instanceof PhasedBuildActionResult &&
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:56:14 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerRetryTest.groovy

            throwWhen(new IOException("Could not dispatch a message to the daemon.", new IOException("An existing connection was forcibly closed by the remote host")), iteration == 1)
    
            then:
            def ioe = thrown(IOException)
            ioe.message == "Could not dispatch a message to the daemon."
        }
    
        private static void throwWhen(Throwable throwable, boolean condition) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 15:10:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/NotifyDaemonAboutChangedPathsClient.java

                    }
                    dispatch(connection, new InvalidateVirtualFileSystemAfterChange(changedPaths, idGenerator.generateId(), connection.getDaemon().getToken()));
                }
            }
        }
    
        private static void dispatch(Connection<Message> connection, Command command) {
            Throwable failure = null;
            try {
                connection.dispatch(command);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarderTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.internal.daemon.client.clientinput
    
    import org.gradle.internal.dispatch.Dispatch
    import org.gradle.internal.logging.console.DefaultUserInputReceiver
    import org.gradle.internal.logging.events.OutputEventListener
    import org.gradle.internal.logging.events.PromptOutputEvent
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/Locks.kt

    import kotlin.contracts.InvocationKind
    import kotlin.contracts.contract
    import okhttp3.Dispatcher
    import okhttp3.internal.http2.Http2Connection
    import okhttp3.internal.http2.Http2Stream
    import okhttp3.internal.http2.Http2Writer
    
    /**
     * Centralisation of central locks according to docs/contribute/concurrency.md
     */
    internal object Locks {
      inline fun <T> Dispatcher.withLock(action: () -> T): T {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaPartiallyAppliedSymbol.kt

        /**
         * The function or variable (property) declaration.
         */
        public val signature: C get() = withValidityAssertion { backingSignature }
    
        /**
         * The dispatch receiver for this symbol access. Dispatch receiver is available if the symbol is declared inside a class or object.
         */
        public val dispatchReceiver: KaReceiverValue? by validityAsserted(dispatchReceiver)
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CompositeCallInterceptionTest.groovy

            "no argument"   | "Groovy dynamic dispatch" | { test() }                    | true           | "test()"
            "one argument"  | "Groovy dynamic dispatch" | { test(it) }                  | true           | "test(InterceptorTestReceiver)"
            "null argument" | "Groovy dynamic dispatch" | { test(null) }                | true           | "test(InterceptorTestReceiver)"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

            .url("ws://echo.websocket.org")
            .build();
        client.newWebSocket(request, this);
    
        // Trigger shutdown of the dispatcher's executor so this process exits immediately.
        client.dispatcher().executorService().shutdown();
      }
    
      @Override public void onOpen(WebSocket webSocket, Response response) {
        webSocket.send("Hello...");
        webSocket.send("...World!");
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 04 11:40:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top