Interface MQTTTransport
- All Known Implementing Classes:
MQTTTransportFilter
public interface MQTTTransport
Basic interface that mediates between protocol converter and transport
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onException
(IOException error) void
sendToActiveMQ
(org.apache.activemq.command.Command command) void
sendToMQTT
(org.fusesource.mqtt.codec.MQTTFrame command) void
setPeerCertificates
(X509Certificate[] certificates) void
stop()
-
Method Details
-
sendToActiveMQ
void sendToActiveMQ(org.apache.activemq.command.Command command) -
sendToMQTT
- Throws:
IOException
-
getPeerCertificates
X509Certificate[] getPeerCertificates() -
setPeerCertificates
-
onException
-
getInactivityMonitor
MQTTInactivityMonitor getInactivityMonitor() -
getWireFormat
MQTTWireFormat getWireFormat() -
stop
- Throws:
Exception
-