Interface MQTTTransport
- All Known Implementing Classes:
MQTTTransportFilter
public interface MQTTTransport
Basic interface that mediates between protocol converter and transport
-
Method Summary
Modifier and TypeMethodDescriptionvoidonException(IOException error) voidsendToActiveMQ(org.apache.activemq.command.Command command) voidsendToMQTT(org.fusesource.mqtt.codec.MQTTFrame command) voidsetPeerCertificates(X509Certificate[] certificates) voidstop()
-
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
-