public class CloudEventServiceWaterImpl extends Object implements CloudEventServicePlus, org.noear.solon.core.bean.LifecycleBean
| Constructor and Description |
|---|
CloudEventServiceWaterImpl(CloudProps cloudProps) |
| Modifier and Type | Method and Description |
|---|---|
void |
attention(EventLevel level,
String channel,
String group,
String topic,
String tag,
int qos,
CloudEventHandler observer)
登记关注
|
String |
getChannel() |
String |
getEventReceive() |
String |
getEventSeal() |
String |
getGroup() |
String |
getSeal() |
boolean |
onReceive(String topicNew,
Event event)
处理接收事件
|
void |
postStart() |
boolean |
publish(Event event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewTran, newTranAndJoinpublic CloudEventServiceWaterImpl(CloudProps cloudProps)
public String getSeal()
public boolean publish(Event event) throws CloudEventException
publish in interface CloudEventServiceCloudEventExceptionpublic void attention(EventLevel level, String channel, String group, String topic, String tag, int qos, CloudEventHandler observer)
attention in interface CloudEventServicepublic void postStart()
throws Throwable
postStart in interface org.noear.solon.core.LifecycleThrowablepublic boolean onReceive(String topicNew, Event event) throws Throwable
Throwablepublic String getChannel()
getChannel in interface CloudEventServicePluspublic String getGroup()
getGroup in interface CloudEventServicePluspublic String getEventSeal()
public String getEventReceive()
Copyright © 2025. All rights reserved.