public class CloudEventManager extends Object implements CloudEventService
| 构造器和说明 |
|---|
CloudEventManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
attention(EventLevel level,
String channel,
String group,
String topic,
CloudEventHandler observer)
关注事件(相当于订阅)
|
CloudEventService |
get(String channel) |
protected CloudEventService |
getOrThrow(String channel) |
boolean |
publish(Event event)
发布事件
|
void |
register(String channel,
CloudEventService service) |
public void register(String channel, CloudEventService service)
public CloudEventService get(String channel)
protected CloudEventService getOrThrow(String channel)
public boolean publish(Event event)
CloudEventServicepublish 在接口中 CloudEventServicepublic void attention(EventLevel level, String channel, String group, String topic, CloudEventHandler observer)
CloudEventServiceattention 在接口中 CloudEventServiceCopyright © 2021. All rights reserved.