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 Constructor Description MQTTTransportFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportcompositeConfigure(Transport transport, org.apache.activemq.wireformat.WireFormat format, Map options)protected TransportcreateInactivityMonitor(Transport transport, org.apache.activemq.wireformat.WireFormat format)protected org.apache.activemq.transport.tcp.TcpTransportServercreateTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory)protected StringgetDefaultWireFormatType()TransportserverConfigure(Transport transport, org.apache.activemq.wireformat.WireFormat format, HashMap options)voidsetBrokerService(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
-
-
-
-
Method Detail
-
getDefaultWireFormatType
protected String getDefaultWireFormatType()
- Overrides:
getDefaultWireFormatTypein classTransportFactory
-
createTcpTransportServer
protected org.apache.activemq.transport.tcp.TcpTransportServer createTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException
- Overrides:
createTcpTransportServerin classorg.apache.activemq.transport.tcp.TcpTransportFactory- Throws:
IOExceptionURISyntaxException
-
compositeConfigure
public Transport compositeConfigure(Transport transport, org.apache.activemq.wireformat.WireFormat format, Map options)
- Overrides:
compositeConfigurein classorg.apache.activemq.transport.tcp.TcpTransportFactory
-
setBrokerService
public void setBrokerService(BrokerService brokerService)
- Specified by:
setBrokerServicein interfaceBrokerServiceAware
-
serverConfigure
public Transport serverConfigure(Transport transport, org.apache.activemq.wireformat.WireFormat format, HashMap options) throws Exception
- Overrides:
serverConfigurein classTransportFactory- Throws:
Exception
-
-