public class WaterAdapterImp extends WaterAdapter
_globalmsg_receiver_path, service_check_path, service_port, service_status_path, service_stop_path| 构造器和说明 |
|---|
WaterAdapterImp() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
alarm_mobile()
报警手机号 :: 需要重写
|
void |
handle(org.noear.solon.core.handle.Context ctx) |
String |
localHost()
当前服务的本地地址(host:port)
|
String |
messageReceive(org.noear.solon.core.handle.Context cxt) |
String |
msg_receiver_url() |
protected void |
registerService() |
String |
service_name()
服务名称 :: 需要重写
|
String |
service_secretKey()
服务密钥 :: 可以重写
|
String |
service_tag()
服务空间 :: 可以重写
|
String |
serviceCheck(org.noear.solon.core.handle.Context cxt) |
void |
stateSet(boolean enabled)
设置状态
|
cacheUpdateHandler, global, initWeed, is_unstable, messageListening, messageReceiveHandler, messageSubscribeHandler, messageSubscribeTopic, onInit, router, start, user_name, user_puidconfigUpdateHandler, doMessageReceive, getLocalAddress, messageReceiveForInner, messageSubscribe, messageSubscribeTopicpublic String msg_receiver_url()
msg_receiver_url 在类中 WaterAdapterpublic String alarm_mobile()
AbstractWaterAdapteralarm_mobile 在类中 AbstractWaterAdapterpublic String service_name()
AbstractWaterAdapterservice_name 在类中 AbstractWaterAdapterpublic String service_tag()
AbstractWaterAdapterservice_tag 在类中 AbstractWaterAdapterpublic String service_secretKey()
AbstractWaterAdapterpublic String localHost()
localHost 在类中 AbstractWaterAdapterprotected void registerService()
registerService 在类中 AbstractWaterAdapterpublic void stateSet(boolean enabled)
public String serviceCheck(org.noear.solon.core.handle.Context cxt)
public String messageReceive(org.noear.solon.core.handle.Context cxt) throws Throwable
Throwablepublic void handle(org.noear.solon.core.handle.Context ctx)
throws IOException
IOExceptionCopyright © 2021. All rights reserved.