- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for addIncoming (0.29 sec)
-
platforms/core-runtime/messaging/src/integTest/groovy/org/gradle/internal/remote/UnicastMessagingIntegrationTest.groovy
RemoteService2 outgoingService2 abstract ObjectConnection getConnection() void addIncoming(RemoteService1 value) { connection.addIncoming(RemoteService1.class, value) } void addIncoming(RemoteService2 value) { connection.addIncoming(RemoteService2.class, value) } void setupOutgoingService1(){
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:43 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MessageHubBackedObjectConnectionTest.groovy
connection.queueIncoming(new ChannelMessage(new ChannelIdentifier(Worker.name), new MethodInvocation(Worker.class.getMethod("doStuff", String), ["param 1"] as Object[]))) when: connectionBuilder.addIncoming(Worker, worker) connectionBuilder.connect() connection.stop() connectionBuilder.stop() then: 1 * worker.doStuff("param 1") 0 * worker._ cleanup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/process/internal/PingRemoteProcess.java
} } public void execute(WorkerProcessContext workerProcessContext) { stopReceived = new CountDownLatch(1); workerProcessContext.getServerConnection().addIncoming(TestListenerInterface.class, this); workerProcessContext.getServerConnection().connect(); try { stopReceived.await(); } catch (InterruptedException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 06 17:14:50 UTC 2016 - 1.7K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/TestWorkerTest.groovy
and: 1 * factory.create(_, _, _) >> processor 1 * connection.addOutgoing(TestResultProcessor) >> resultProcessor 1 * connection.addIncoming(RemoteTestClassProcessor, worker) 1 * connection.useParameterSerializers(_) 1 * connection.connect() >> { start { worker.startProcessing()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 2.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultWorkerProcessBuilder.java
connection.addIncoming(WorkerLoggingProtocol.class, defaultWorkerLoggingProtocol); if (shouldPublishJvmMemoryInfo) { connection.useParameterSerializers(WorkerJvmMemoryInfoSerializer.create()); connection.addIncoming(WorkerJvmMemoryInfoProtocol.class, memoryStatus); } }));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:16:16 UTC 2024 - 12.1K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/ObjectConnectionBuilder.java
* * @param type The type. * @param instance The handler instance. Incoming messages on the given type are delivered to this handler. */ <T> void addIncoming(Class<T> type, T instance); /** * Use the given Classloader to deserialize method parameters for method invocations received from the peer, for those types where Java serialization is used. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessor.java
} } finally { lock.unlock(); } } }); connection.addIncoming(TestResultProcessor.class, resultProcessor); RemoteTestClassProcessor remoteProcessor = connection.addOutgoing(RemoteTestClassProcessor.class); connection.connect(); remoteProcessor.startProcessing();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 12:13:32 UTC 2024 - 7.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultMultiRequestWorkerProcessBuilder.java
} catch (Exception e) { throw WorkerProcessException.runFailed(getBaseName(), e); } workerProcess.getConnection().addIncoming(ResponseProtocol.class, receiver); workerProcess.getConnection().useJavaSerializationForParameters(workerImplementation.getClassLoader());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 19:54:37 UTC 2024 - 7.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultSingleRequestWorkerProcessBuilder.java
ObjectConnection connection = workerProcess.getConnection(); RequestProtocol requester = connection.addOutgoing(RequestProtocol.class); connection.addIncoming(ResponseProtocol.class, receiver); connection.useJavaSerializationForParameters(workerImplementation.getClassLoader());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 04 09:27:37 UTC 2023 - 5.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/process/internal/PathLimitationIntegrationTest.groovy
} catch (ExecException e) { e.printStackTrace() assertTrue(startFails); return; } proc.getConnection().addIncoming(TestListenerInterface.class, exceptionListener); proc.getConnection().connect() } public void waitForStop() { if (startFails) { return; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 11:15:22 UTC 2023 - 5.7K bytes - Viewed (0)