Interface IMqttServerPublishPermission
-
public interface IMqttServerPublishPermissionmqtt 服务端校验客户端是否有发布权限- Author:
- L.cm
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Loggerlogger
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanhasPermission(org.tio.core.ChannelContext context, String clientId, String topic, br.com.anteros.mqtt.codec.MqttQoS qoS, boolean isRetain)否有发布权限default booleanverifyPermission(org.tio.core.ChannelContext context, String clientId, String topic, br.com.anteros.mqtt.codec.MqttQoS qoS, boolean isRetain)否有发布权限
-
-
-
Method Detail
-
verifyPermission
default boolean verifyPermission(org.tio.core.ChannelContext context, String clientId, String topic, br.com.anteros.mqtt.codec.MqttQoS qoS, boolean isRetain)否有发布权限- Parameters:
context- ChannelContextclientId- 客户端 idtopic- topicqoS- MqttQoSisRetain- 是否保留消息- Returns:
- 否有发布权限
-
-