Class InternalEventBus

  • Direct Known Subclasses:

    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

      Modifier and Type Field Description
      protected eventBus  
      protected static java.util.logging.Logger logger  
    • Constructor Summary

      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>
      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 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)