Module org.jpo

Class DebugEventListener

java.lang.Object
org.jpo.eventbus.DebugEventListener

public class DebugEventListener extends Object
A dummy event listener that listens to all events and simply logs them. Should be helpful to debug what is going on.
  • Constructor Details

    • DebugEventListener

      public DebugEventListener()
  • Method Details

    • handleAllEvents

      public void handleAllEvents(Object o)
      This event listener registers, so it receives all types of event objects from the EventBus and then logs them on the console.
      Parameters:
      o - the event