Skip navigation links
A B C D E F G H I J M N O P R S T V W 

A

accept(String, String, MqttMessage) - Method in class com.github.tocrhz.mqtt.subscriber.MqttSubscriber
 
add(String, String...) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConfigurer.ClientRegistry
添加新的client, 添加到配置末尾.
add(String, ConnectionProperties) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConfigurer.ClientRegistry
添加新的client, 添加到配置末尾.
addBeans(ListableBeanFactory) - Static method in class com.github.tocrhz.mqtt.autoconfigure.MqttConversionService
 

B

beforeCreate(MqttConfigurer.ClientRegistry) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConfigurer
在创建客户端之前, 增删改客户端配置.
beforeSubscribe(String, Set<TopicPair>) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConfigurer
在创建客户端后, 订阅主题前, 修改订阅的主题.
ByteArrayToBooleanConverter - Interface in com.github.tocrhz.mqtt.convert.other
 
ByteArrayToByteConverter - Interface in com.github.tocrhz.mqtt.convert.other
 
ByteArrayToDoubleConverter - Interface in com.github.tocrhz.mqtt.convert.other
 
ByteArrayToFloatConverter - Interface in com.github.tocrhz.mqtt.convert.other
 
ByteArrayToIntegerConverter - Interface in com.github.tocrhz.mqtt.convert.other
 
ByteArrayToLongConverter - Interface in com.github.tocrhz.mqtt.convert.other
 
ByteArrayToShortConverter - Interface in com.github.tocrhz.mqtt.convert.other
 
ByteArrayToStringConverter - Interface in com.github.tocrhz.mqtt.convert.other
 

C

clear() - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConfigurer.ClientRegistry
清空所有客户端配置.
ClientRegistry() - Constructor for class com.github.tocrhz.mqtt.autoconfigure.MqttConfigurer.ClientRegistry
 
com.github.tocrhz.mqtt.annotation - package com.github.tocrhz.mqtt.annotation
 
com.github.tocrhz.mqtt.autoconfigure - package com.github.tocrhz.mqtt.autoconfigure
 
com.github.tocrhz.mqtt.convert - package com.github.tocrhz.mqtt.convert
 
com.github.tocrhz.mqtt.convert.jackson - package com.github.tocrhz.mqtt.convert.jackson
 
com.github.tocrhz.mqtt.convert.other - package com.github.tocrhz.mqtt.convert.other
 
com.github.tocrhz.mqtt.exception - package com.github.tocrhz.mqtt.exception
 
com.github.tocrhz.mqtt.properties - package com.github.tocrhz.mqtt.properties
 
com.github.tocrhz.mqtt.publisher - package com.github.tocrhz.mqtt.publisher
 
com.github.tocrhz.mqtt.subscriber - package com.github.tocrhz.mqtt.subscriber
 
connect() - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConnector
根据配置建立连接.
connect(boolean) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConnector
根据配置建立连接.
ConnectionProperties - Class in com.github.tocrhz.mqtt.properties
MQTT连接配置
ConnectionProperties() - Constructor for class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
contains(String) - Method in class com.github.tocrhz.mqtt.subscriber.MqttSubscriber
 
convert(Object) - Method in class com.github.tocrhz.mqtt.convert.jackson.JacksonPayloadSerialize
 
convert(Object) - Method in class com.github.tocrhz.mqtt.convert.jackson.JacksonStringSerialize
 

D

DefaultClientId - Static variable in class com.github.tocrhz.mqtt.autoconfigure.MqttConnector
 
DefaultPublishQos - Static variable in class com.github.tocrhz.mqtt.autoconfigure.MqttConnector
 
destroy() - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConnector
 
disable() - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConfigurer.ClientRegistry
禁用, 创建客户端之前.
disconnect(String) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConnector
关闭指定的客户端.

E

equals(Object) - Method in class com.github.tocrhz.mqtt.subscriber.MqttSubscriber
 
equals(Object) - Method in class com.github.tocrhz.mqtt.subscriber.TopicPair
 

F

forEach(BiConsumer<String, MqttConnectOptions>) - Method in class com.github.tocrhz.mqtt.properties.MqttProperties
遍历所有的客户端配置
fromBytes(byte[], Class<?>, List<Converter<Object, Object>>) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConversionService
 

G

getAutomaticReconnect() - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
断开是否重新连接.
getCleanSession() - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
是否清除会话.
getClientById(String) - Static method in class com.github.tocrhz.mqtt.autoconfigure.MqttConnector
Get from MqttConnector.MQTT_CLIENT_MAP by client id.
getClientId() - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
客户端ID
getClients() - Method in class com.github.tocrhz.mqtt.properties.MqttProperties
多个客户端配置, key:clientId, value:配置
getConnectionTimeout() - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
连接超时时间(秒).
getConverter(Class<T>) - Method in class com.github.tocrhz.mqtt.convert.jackson.JacksonPayloadDeserialize
 
getConverter(Class<T>) - Method in class com.github.tocrhz.mqtt.convert.jackson.JacksonStringDeserialize
 
getDefaultClient() - Static method in class com.github.tocrhz.mqtt.autoconfigure.MqttConnector
 
getDefaultPublishQos() - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
发布消息默认使用的QOS, 默认 0.
getDefaultPublishQos(String) - Method in class com.github.tocrhz.mqtt.properties.MqttProperties
 
getDefaultQosById(String) - Static method in class com.github.tocrhz.mqtt.autoconfigure.MqttConnector
 
getDisable() - Method in class com.github.tocrhz.mqtt.properties.MqttProperties
是否禁用
getEnableSharedSubscription() - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
是否启用共享订阅,对于不同的Broker,共享订阅可能无效(EMQ已测可用).
getExecutorServiceTimeout() - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
发送超时时间(秒).
getKeepAliveInterval() - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
KeepAlive 周期(秒).
getMaxReconnectDelay() - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
最大重连等待时间(秒).
getOrder() - Method in class com.github.tocrhz.mqtt.subscriber.MqttSubscriber
 
getPassword() - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
密码.
getPathValueMap(String) - Method in class com.github.tocrhz.mqtt.subscriber.TopicPair
 
getPayload() - Method in class com.github.tocrhz.mqtt.properties.WillProperties
遗愿消息内容.
getQos() - Method in class com.github.tocrhz.mqtt.properties.WillProperties
遗愿消息QOS.
getQos() - Method in class com.github.tocrhz.mqtt.subscriber.TopicPair
 
getRetained() - Method in class com.github.tocrhz.mqtt.properties.WillProperties
遗愿消息是否保留.
getSharedInstance() - Static method in class com.github.tocrhz.mqtt.autoconfigure.MqttConversionService
 
getTopic() - Method in class com.github.tocrhz.mqtt.properties.WillProperties
遗愿主题.
getTopic(boolean) - Method in class com.github.tocrhz.mqtt.subscriber.TopicPair
 
getTopics() - Method in class com.github.tocrhz.mqtt.subscriber.MqttSubscriber
 
getUri() - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
MQTT服务器地址, 必填, 可以配置多个.
getUsername() - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
用户名.
getWill() - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
遗愿相关配置.

H

hashCode() - Method in class com.github.tocrhz.mqtt.subscriber.MqttSubscriber
 
hashCode() - Method in class com.github.tocrhz.mqtt.subscriber.TopicPair
 

I

isMatched(String) - Method in class com.github.tocrhz.mqtt.subscriber.TopicPair
 
isSharedEnable(String) - Method in class com.github.tocrhz.mqtt.properties.MqttProperties
 

J

jacksonPayloadDeserialize(ObjectMapper) - Method in class com.github.tocrhz.mqtt.autoconfigure.PayloadJacksonAutoConfiguration
 
JacksonPayloadDeserialize - Class in com.github.tocrhz.mqtt.convert.jackson
默认的json字符串转对象配置
JacksonPayloadDeserialize(ObjectMapper) - Constructor for class com.github.tocrhz.mqtt.convert.jackson.JacksonPayloadDeserialize
 
jacksonPayloadSerialize(ObjectMapper) - Method in class com.github.tocrhz.mqtt.autoconfigure.PayloadJacksonAutoConfiguration
 
JacksonPayloadSerialize - Class in com.github.tocrhz.mqtt.convert.jackson
默认的对象转json字符串配置
JacksonPayloadSerialize(ObjectMapper) - Constructor for class com.github.tocrhz.mqtt.convert.jackson.JacksonPayloadSerialize
 
jacksonStringDeserialize(ObjectMapper) - Method in class com.github.tocrhz.mqtt.autoconfigure.PayloadJacksonAutoConfiguration
 
JacksonStringDeserialize - Class in com.github.tocrhz.mqtt.convert.jackson
默认的json字符串转对象配置
JacksonStringDeserialize(ObjectMapper) - Constructor for class com.github.tocrhz.mqtt.convert.jackson.JacksonStringDeserialize
 
jacksonStringSerialize(ObjectMapper) - Method in class com.github.tocrhz.mqtt.autoconfigure.PayloadJacksonAutoConfiguration
 
JacksonStringSerialize - Class in com.github.tocrhz.mqtt.convert.jackson
默认的对象转json字符串配置
JacksonStringSerialize(ObjectMapper) - Constructor for class com.github.tocrhz.mqtt.convert.jackson.JacksonStringSerialize
 

M

MQTT_CLIENT_MAP - Static variable in class com.github.tocrhz.mqtt.autoconfigure.MqttConnector
 
MQTT_DEFAULT_QOS_MAP - Static variable in class com.github.tocrhz.mqtt.autoconfigure.MqttConnector
 
MqttAutoConfiguration - Class in com.github.tocrhz.mqtt.autoconfigure
mqtt auto configuration
MqttAutoConfiguration(ListableBeanFactory) - Constructor for class com.github.tocrhz.mqtt.autoconfigure.MqttAutoConfiguration
 
mqttConfigurer() - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttAutoConfiguration
 
MqttConfigurer - Class in com.github.tocrhz.mqtt.autoconfigure
配置类.
MqttConfigurer() - Constructor for class com.github.tocrhz.mqtt.autoconfigure.MqttConfigurer
 
MqttConfigurer.ClientRegistry - Class in com.github.tocrhz.mqtt.autoconfigure
 
mqttConnector(MqttProperties, MqttConfigurer) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttAutoConfiguration
default MqttConnector.
MqttConnector - Class in com.github.tocrhz.mqtt.autoconfigure
Establish a connection and subscribe to topics.
MqttConnector() - Constructor for class com.github.tocrhz.mqtt.autoconfigure.MqttConnector
 
MqttConversionService - Class in com.github.tocrhz.mqtt.autoconfigure
 
MqttConversionService() - Constructor for class com.github.tocrhz.mqtt.autoconfigure.MqttConversionService
 
MqttDefaultJacksonModule() - Constructor for class com.github.tocrhz.mqtt.autoconfigure.PayloadJacksonAutoConfiguration.MqttDefaultJacksonModule
 
mqttProperties - Variable in class com.github.tocrhz.mqtt.autoconfigure.MqttConfigurer
 
MqttProperties - Class in com.github.tocrhz.mqtt.properties
MQTT properties.
MqttProperties() - Constructor for class com.github.tocrhz.mqtt.properties.MqttProperties
 
mqttPublisher() - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttAutoConfiguration
default MqttPublisher
MqttPublisher - Class in com.github.tocrhz.mqtt.publisher
Used to publish message
MqttPublisher() - Constructor for class com.github.tocrhz.mqtt.publisher.MqttPublisher
 
MqttSubscribe - Annotation Type in com.github.tocrhz.mqtt.annotation
Subscribe topics.
MqttSubscribeProcessor - Class in com.github.tocrhz.mqtt.autoconfigure
When Bean is initialized, filter out the methods annotated with @MqttSubscribe, and create MqttSubscriber
MqttSubscribeProcessor() - Constructor for class com.github.tocrhz.mqtt.autoconfigure.MqttSubscribeProcessor
 
MqttSubscriber - Class in com.github.tocrhz.mqtt.subscriber
Used to subscribe message
MqttSubscriber() - Constructor for class com.github.tocrhz.mqtt.subscriber.MqttSubscriber
 

N

NamedValue - Annotation Type in com.github.tocrhz.mqtt.annotation
Parameter in topic
NullParameterException - Exception in com.github.tocrhz.mqtt.exception
 
NullParameterException() - Constructor for exception com.github.tocrhz.mqtt.exception.NullParameterException
 

O

objectMapper() - Method in class com.github.tocrhz.mqtt.autoconfigure.PayloadJacksonAutoConfiguration
 
of(Object, Method) - Static method in class com.github.tocrhz.mqtt.subscriber.MqttSubscriber
 
of(String, int) - Static method in class com.github.tocrhz.mqtt.subscriber.TopicPair
 
of(String, int, boolean, String, HashMap<String, Class<?>>) - Static method in class com.github.tocrhz.mqtt.subscriber.TopicPair
 
order() - Method in class com.github.tocrhz.mqtt.subscriber.TopicPair
 

P

Payload - Annotation Type in com.github.tocrhz.mqtt.annotation
Message content.
PayloadDeserialize - Interface in com.github.tocrhz.mqtt.convert
 
PayloadJacksonAutoConfiguration - Class in com.github.tocrhz.mqtt.autoconfigure
default mqtt payload config for jackson.
PayloadJacksonAutoConfiguration() - Constructor for class com.github.tocrhz.mqtt.autoconfigure.PayloadJacksonAutoConfiguration
 
PayloadJacksonAutoConfiguration.MqttDefaultJacksonModule - Class in com.github.tocrhz.mqtt.autoconfigure
 
PayloadSerialize - Interface in com.github.tocrhz.mqtt.convert
 
postCreate(String, MqttConnectOptions) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConfigurer
创建客户端.
postProcessAfterInitialization(Object, String) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttSubscribeProcessor
 
postProcessBeforeInitialization(Object, String) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttSubscribeProcessor
 

R

remove(String) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConfigurer.ClientRegistry
删除指定的客户端ID配置.

S

send(String, Object) - Method in class com.github.tocrhz.mqtt.publisher.MqttPublisher
发送消息到指定主题 qos=1
send(String, Object, IMqttActionListener) - Method in class com.github.tocrhz.mqtt.publisher.MqttPublisher
发送消息到指定主题 qos=1
send(String, String, Object) - Method in class com.github.tocrhz.mqtt.publisher.MqttPublisher
发送消息到指定主题 qos=1
send(String, String, Object, IMqttActionListener) - Method in class com.github.tocrhz.mqtt.publisher.MqttPublisher
发送消息到指定主题 qos=1
send(String, Object, int, boolean) - Method in class com.github.tocrhz.mqtt.publisher.MqttPublisher
发送消息到指定主题, 指定qos, retained
send(String, String, Object, int, boolean) - Method in class com.github.tocrhz.mqtt.publisher.MqttPublisher
发送消息到指定主题, 指定qos, retained
send(String, Object, int, boolean, IMqttActionListener) - Method in class com.github.tocrhz.mqtt.publisher.MqttPublisher
发送消息到指定主题, 指定qos, retained
send(String, String, Object, int, boolean, IMqttActionListener) - Method in class com.github.tocrhz.mqtt.publisher.MqttPublisher
发送消息到指定主题, 指定qos, retained
setAutomaticReconnect(Boolean) - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
setCleanSession(Boolean) - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
setClientId(String) - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
setClients(Map<String, ConnectionProperties>) - Method in class com.github.tocrhz.mqtt.properties.MqttProperties
 
setConnectionTimeout(Integer) - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
setDefault(ConnectionProperties) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConfigurer.ClientRegistry
设置默认.
setDefaultPublishQos(Integer) - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
setDisable(Boolean) - Method in class com.github.tocrhz.mqtt.properties.MqttProperties
 
setEnableSharedSubscription(Boolean) - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
setExecutorServiceTimeout(Integer) - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
setKeepAliveInterval(Integer) - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
setMaxReconnectDelay(Integer) - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
setPassword(String) - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
setPayload(String) - Method in class com.github.tocrhz.mqtt.properties.WillProperties
 
setProperties(MqttProperties) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConfigurer
 
setQos(Integer) - Method in class com.github.tocrhz.mqtt.properties.WillProperties
 
setRetained(Boolean) - Method in class com.github.tocrhz.mqtt.properties.WillProperties
 
setTopic(String) - Method in class com.github.tocrhz.mqtt.properties.WillProperties
 
setUri(String[]) - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
setUsername(String) - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
setWill(WillProperties) - Method in class com.github.tocrhz.mqtt.properties.ConnectionProperties
 
start(MqttProperties, MqttConfigurer) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConnector
 
StringToByteArrayConverter - Interface in com.github.tocrhz.mqtt.convert.other
 

T

toBytes(Object) - Method in class com.github.tocrhz.mqtt.autoconfigure.MqttConversionService
 
toOptions(String) - Method in class com.github.tocrhz.mqtt.properties.MqttProperties
转为 MqttConnectOptions
TopicPair - Class in com.github.tocrhz.mqtt.subscriber
If NamedValue is used, use regular matching, if not, use MqttTopic.isMatched(String, String) matching
TopicPair() - Constructor for class com.github.tocrhz.mqtt.subscriber.TopicPair
 

V

VERSION - Static variable in class com.github.tocrhz.mqtt.autoconfigure.PayloadJacksonAutoConfiguration.MqttDefaultJacksonModule
 

W

WillProperties - Class in com.github.tocrhz.mqtt.properties
遗愿相关配置.
WillProperties() - Constructor for class com.github.tocrhz.mqtt.properties.WillProperties
 
A B C D E F G H I J M N O P R S T V W 
Skip navigation links

Copyright © 2022. All Rights Reserved.