Interface IMqttServerSubscribeValidator
-
public interface IMqttServerSubscribeValidatormqtt 服务端,认证处理器- 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 booleanisValid(org.tio.core.ChannelContext context, String clientId, String topicFilter, br.com.anteros.mqtt.codec.MqttQoS qoS)是否可以订阅default booleanverifyTopicFilter(org.tio.core.ChannelContext context, String clientId, String topicFilter, br.com.anteros.mqtt.codec.MqttQoS qoS)校验订阅的 topicFilter
-
-
-
Method Detail
-
verifyTopicFilter
default boolean verifyTopicFilter(org.tio.core.ChannelContext context, String clientId, String topicFilter, br.com.anteros.mqtt.codec.MqttQoS qoS)校验订阅的 topicFilter- Parameters:
context- ChannelContextclientId- clientIdtopicFilter- topicFilterqoS- MqttQoS- Returns:
- 是否有权限
-
-