Class InternalEventBus

  • Direct Known Subclasses:
    LocalEventBus

    public abstract class InternalEventBus
    extends java.lang.Object
    The event bus wraps the Google EventBus service for the daemon. It provides a publish/subscribe mechanism within a single JVM.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.google.common.eventbus.EventBus eventBus  
      protected static java.util.logging.Logger logger  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected InternalEventBus()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected static <T extends InternalEventBus>
      T
      getInstance​(java.lang.Class<T> eventBusClass)  
      void post​(java.lang.Object event)  
      void register​(java.lang.Object object)  
      void unregister​(java.lang.Object object)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        protected static final java.util.logging.Logger logger
      • eventBus

        protected com.google.common.eventbus.EventBus eventBus
    • Method Detail

      • register

        public void register​(java.lang.Object object)
      • unregister

        public void unregister​(java.lang.Object object)
      • post

        public void post​(java.lang.Object event)