public class MQTTTransportFactory extends org.apache.activemq.transport.tcp.TcpTransportFactory implements BrokerServiceAware
Constructor and Description |
---|
MQTTTransportFactory() |
Modifier and Type | Method and Description |
---|---|
Transport |
compositeConfigure(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 |
getDefaultWireFormatType() |
Transport |
serverConfigure(Transport transport,
org.apache.activemq.wireformat.WireFormat format,
HashMap options) |
void |
setBrokerService(BrokerService brokerService) |
createServerSocketFactory, createSocketFactory, createTcpTransport, createTransport, doBind, isUseInactivityMonitor
bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getOption, registerTransportFactory
public MQTTTransportFactory()
protected String getDefaultWireFormatType()
getDefaultWireFormatType
in class TransportFactory
protected org.apache.activemq.transport.tcp.TcpTransportServer createTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException
createTcpTransportServer
in class org.apache.activemq.transport.tcp.TcpTransportFactory
IOException
URISyntaxException
public Transport compositeConfigure(Transport transport, org.apache.activemq.wireformat.WireFormat format, Map options)
compositeConfigure
in class org.apache.activemq.transport.tcp.TcpTransportFactory
public void setBrokerService(BrokerService brokerService)
setBrokerService
in interface BrokerServiceAware
public Transport serverConfigure(Transport transport, org.apache.activemq.wireformat.WireFormat format, HashMap options) throws Exception
serverConfigure
in class TransportFactory
Exception
protected Transport createInactivityMonitor(Transport transport, org.apache.activemq.wireformat.WireFormat format)
createInactivityMonitor
in class org.apache.activemq.transport.tcp.TcpTransportFactory
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.