Interface MqttComponent<T>
- Type Parameters:
T- The connection information type.
- All Superinterfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
- All Known Subinterfaces:
MqttPahoComponent
- All Known Implementing Classes:
MqttPahoMessageDrivenChannelAdapter,MqttPahoMessageHandler
public interface MqttComponent<T>
extends org.springframework.beans.factory.BeanNameAware
A component that interfaces with MQTT.
- Since:
- 2.5
-
Method Summary
Modifier and Type Method Description java.lang.StringgetBeanName()Return this component's bean name.TgetConnectionInfo()Return information about the connection.
-
Method Details
-
getBeanName
java.lang.String getBeanName()Return this component's bean name.- Returns:
- the bean name.
-
getConnectionInfo
T getConnectionInfo()Return information about the connection.- Returns:
- the information.
-