订阅某个事件类的类是否可以在不监听的情况下触发相同的事件类型?
例子:
Class A {
EventBus bus = new EventBus();
public A() {
bus.register(this);
bus.post ( new String("event!"));
}
@Subscribe public void consume(String event) {
System.out.println("Got event: "+event);
}
}