Class MQTTHandler
- java.lang.Object
-
- org.apache.iotdb.db.engine.trigger.sink.mqtt.MQTTHandler
-
- All Implemented Interfaces:
Handler<MQTTConfiguration,MQTTEvent>
public class MQTTHandler extends java.lang.Object implements Handler<MQTTConfiguration,MQTTEvent>
-
-
Constructor Summary
Constructors Constructor Description MQTTHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidonEvent(MQTTEvent event)voidopen(MQTTConfiguration configuration)
-
-
-
Method Detail
-
open
public void open(MQTTConfiguration configuration) throws java.lang.Exception
- Specified by:
openin interfaceHandler<MQTTConfiguration,MQTTEvent>- Throws:
java.lang.Exception
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfaceHandler<MQTTConfiguration,MQTTEvent>- Throws:
java.lang.Exception
-
onEvent
public void onEvent(MQTTEvent event) throws java.lang.Exception
- Specified by:
onEventin interfaceHandler<MQTTConfiguration,MQTTEvent>- Throws:
java.lang.Exception
-
-