Class MQTTTransportFactory
java.lang.Object
org.apache.activemq.transport.TransportFactory
org.apache.activemq.transport.tcp.TcpTransportFactory
org.apache.activemq.transport.mqtt.MQTTTransportFactory
- All Implemented Interfaces:
BrokerServiceAware
public class MQTTTransportFactory
extends org.apache.activemq.transport.tcp.TcpTransportFactory
implements BrokerServiceAware
A MQTT transport factory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompositeConfigure
(Transport transport, org.apache.activemq.wireformat.WireFormat format, Map options) protected Transport
createInactivityMonitor
(Transport transport, org.apache.activemq.wireformat.WireFormat format) protected org.apache.activemq.transport.tcp.TcpTransportServer
createTcpTransportServer
(URI location, ServerSocketFactory serverSocketFactory) protected String
serverConfigure
(Transport transport, org.apache.activemq.wireformat.WireFormat format, HashMap options) void
setBrokerService
(BrokerService brokerService) Methods inherited from class org.apache.activemq.transport.tcp.TcpTransportFactory
createServerSocketFactory, createSocketFactory, createTcpTransport, createTransport, createTransport, createTransport, doBind, isUseInactivityMonitor
Methods inherited from class org.apache.activemq.transport.TransportFactory
bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getOption, registerTransportFactory
-
Constructor Details
-
MQTTTransportFactory
public MQTTTransportFactory()
-
-
Method Details
-
getDefaultWireFormatType
- Overrides:
getDefaultWireFormatType
in classTransportFactory
-
createTcpTransportServer
protected org.apache.activemq.transport.tcp.TcpTransportServer createTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException - Overrides:
createTcpTransportServer
in classorg.apache.activemq.transport.tcp.TcpTransportFactory
- Throws:
IOException
URISyntaxException
-
compositeConfigure
public Transport compositeConfigure(Transport transport, org.apache.activemq.wireformat.WireFormat format, Map options) - Overrides:
compositeConfigure
in classorg.apache.activemq.transport.tcp.TcpTransportFactory
-
setBrokerService
- Specified by:
setBrokerService
in interfaceBrokerServiceAware
-
serverConfigure
public Transport serverConfigure(Transport transport, org.apache.activemq.wireformat.WireFormat format, HashMap options) throws Exception - Overrides:
serverConfigure
in classTransportFactory
- Throws:
Exception
-
createInactivityMonitor
protected Transport createInactivityMonitor(Transport transport, org.apache.activemq.wireformat.WireFormat format) - Overrides:
createInactivityMonitor
in classorg.apache.activemq.transport.tcp.TcpTransportFactory
-