Class EventManager


  • public class EventManager
    extends Object
    This class is used to submit Event for developers.
    • Constructor Detail

      • EventManager

        public EventManager()
    • Method Detail

      • submit

        public static <T extends Event> void submit​(T event)
                                             throws EventSubmitException
        Submit the event to all of its implemented super event class
        Type Parameters:
        T - the event type
        Parameters:
        event - the event need to be submitted
        Throws:
        EventSubmitException - if class of this event is abstract or there is no LISTENER_HANDLER in this event