C - R - public interface TopicRouter<C,R>
void add(String topic, int index, TopicListener<Payload<C,R>> listener)
topic - 主题index - 顺序位listener - 监听器void remove(String topic, TopicListener<Payload<C,R>> listener)
topic - 主题listener - 监听器List<TopicListenerHolder<C,R>> matching(String topic)
Copyright © 2023. All rights reserved.