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