Class MQTTForwardConfiguration
- java.lang.Object
-
- org.apache.iotdb.db.engine.trigger.sink.forward.mqtt.MQTTForwardConfiguration
-
- All Implemented Interfaces:
Configuration
public class MQTTForwardConfiguration extends java.lang.Object implements Configuration
-
-
Constructor Summary
Constructors Constructor Description MQTTForwardConfiguration(java.lang.String host, int port, java.lang.String username, java.lang.String password, java.lang.String topic, long reconnectDelay, long connectAttemptsMax, java.lang.String qos, boolean retain, int poolSize, boolean stopIfException)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckConfig()longgetConnectAttemptsMax()java.lang.StringgetHost()java.lang.StringgetPassword()intgetPoolSize()intgetPort()org.fusesource.mqtt.client.QoSgetQos()longgetReconnectDelay()java.lang.StringgetTopic()java.lang.StringgetUsername()booleanisRetain()booleanisStopIfException()
-
-
-
Constructor Detail
-
MQTTForwardConfiguration
public MQTTForwardConfiguration(java.lang.String host, int port, java.lang.String username, java.lang.String password, java.lang.String topic, long reconnectDelay, long connectAttemptsMax, java.lang.String qos, boolean retain, int poolSize, boolean stopIfException) throws SinkException- Throws:
SinkException
-
-
Method Detail
-
checkConfig
public void checkConfig() throws SinkException- Throws:
SinkException
-
getHost
public java.lang.String getHost()
-
getPort
public int getPort()
-
getUsername
public java.lang.String getUsername()
-
getPassword
public java.lang.String getPassword()
-
getTopic
public java.lang.String getTopic()
-
getReconnectDelay
public long getReconnectDelay()
-
getConnectAttemptsMax
public long getConnectAttemptsMax()
-
getQos
public org.fusesource.mqtt.client.QoS getQos()
-
isRetain
public boolean isRetain()
-
getPoolSize
public int getPoolSize()
-
isStopIfException
public boolean isStopIfException()
-
-