Interface IEventHandler<T>

    • Method Detail

      • onEvent

        void onEvent​(String topic,
                     int type,
                     T event)
        事件处理.
        Parameters:
        topic - the topic
        type - the type
        event - the event