- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 34 for subscriber (0.5 sec)
-
android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
* limitations under the License. */ package com.google.common.eventbus.outside; import com.google.common.eventbus.EventBus; import com.google.common.eventbus.Subscribe; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicReference; import junit.framework.TestCase; /** * Test cases for {@code EventBus} that must not be in the same package. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java
* limitations under the License. */ package com.google.common.eventbus.outside; import static com.google.common.truth.Truth.assertThat; import com.google.common.eventbus.Subscribe; import com.google.common.eventbus.outside.AbstractNotAnnotatedInSuperclassTest.SubClass; import java.util.ArrayList; import java.util.List;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java
import com.google.common.eventbus.Subscribe; import com.google.common.eventbus.outside.AnnotatedAndAbstractInSuperclassTest.SubClass; import java.util.ArrayList; import java.util.List; public class AnnotatedAndAbstractInSuperclassTest extends AbstractEventBusTest<SubClass> { abstract static class SuperClass { @Subscribe public abstract void overriddenAndAnnotatedInSubclass(Object o);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java
import com.google.common.eventbus.Subscribe; import com.google.common.eventbus.outside.AnnotatedAndAbstractInSuperclassTest.SubClass; import java.util.ArrayList; import java.util.List; public class AnnotatedAndAbstractInSuperclassTest extends AbstractEventBusTest<SubClass> { abstract static class SuperClass { @Subscribe public abstract void overriddenAndAnnotatedInSubclass(Object o);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java
* limitations under the License. */ package com.google.common.eventbus.outside; import static com.google.common.truth.Truth.assertThat; import com.google.common.eventbus.Subscribe; import com.google.common.eventbus.outside.NeitherAbstractNorAnnotatedInSuperclassTest.SubClass; import java.util.ArrayList; import java.util.List;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java
boolean ready = true; final List<Object> eventsReceived = new ArrayList<>(); @Subscribe public void listenForStrings(String event) { eventsReceived.add(event); ready = false; try { bus.post(SECOND); } finally { ready = true; } } @Subscribe public void listenForDoubles(Double event) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java
* the License. */ package com.google.common.eventbus; /** * Handler for exceptions thrown by event subscribers. * * @since 16.0 */ public interface SubscriberExceptionHandler { /** Handles exceptions thrown by subscribers. */ void handleException(Throwable exception, SubscriberExceptionContext context);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 894 bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/StringCatcher.java
@NullUnmarked public class StringCatcher { private final List<String> events = new ArrayList<>(); @Subscribe public void hereHaveAString(@Nullable String string) { events.add(string); } public void methodWithoutAnnotation(@Nullable String string) { Assert.fail("Event bus must not call methods without @Subscribe!"); } public List<String> getEvents() { return events; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/package-info.java
* the License. */ /** * {@linkplain EventBus Discouraged} in favor of dependency injection and concurrency frameworks, * EventBus allows publish-subscribe-style communication. * * <p>See the Guava User Guide article on <a * href="https://github.com/google/guava/wiki/EventBusExplained">{@code EventBus}</a>. */ @CheckReturnValue @NullMarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jan 03 19:02:39 UTC 2025 - 1K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java
* limitations under the License. */ package com.google.common.eventbus.outside; import static com.google.common.truth.Truth.assertThat; import com.google.common.eventbus.Subscribe; import com.google.common.eventbus.outside.NeitherAbstractNorAnnotatedInSuperclassTest.SubClass; import java.util.ArrayList; import java.util.List;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.6K bytes - Viewed (0)