Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getEventBus (0.06 sec)

  1. android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java

      }
    
      /**
       * @return The {@link EventBus} that handled the event and the subscriber. Useful for broadcasting
       *     a new event based on the error.
       */
      public EventBus getEventBus() {
        return eventBus;
      }
    
      /** @return The event object that caused the subscriber to throw. */
      public Object getEvent() {
        return event;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        eventBus.register(subscriber);
        eventBus.post(EVENT);
    
        assertEquals("Cause should be available.", exception, handler.exception);
        assertEquals("EventBus should be available.", eventBus, handler.context.getEventBus());
        assertEquals("Event should be available.", EVENT, handler.context.getEvent());
        assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber());
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top