public class MQTTTransportFactory extends TcpTransportFactory implements BrokerServiceAware
| Constructor and Description |
|---|
MQTTTransportFactory() |
| Modifier and Type | Method and Description |
|---|---|
Transport |
compositeConfigure(Transport transport,
WireFormat format,
java.util.Map options)
Similar to configure(...) but this avoid adding in the MutexTransport and
ResponseCorrelator transport layers so that the resulting transport can
more efficiently be used as part of a composite transport.
|
protected Transport |
createInactivityMonitor(Transport transport,
WireFormat format) |
protected java.lang.String |
getDefaultWireFormatType() |
Transport |
serverConfigure(Transport transport,
WireFormat format,
java.util.HashMap options)
Fully configures and adds all need transport filters so that the
transport can be used by the ActiveMQ message broker.
|
void |
setBrokerService(BrokerService brokerService) |
createServerSocketFactory, createSocketFactory, createTcpTransport, createTcpTransportServer, createTransport, doBind, isUseInactivityMonitorbind, bind, bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, getOption, registerTransportFactorypublic MQTTTransportFactory()
protected java.lang.String getDefaultWireFormatType()
getDefaultWireFormatType in class TransportFactorypublic Transport compositeConfigure(Transport transport, WireFormat format, java.util.Map options)
TransportFactorycompositeConfigure in class TcpTransportFactorypublic void setBrokerService(BrokerService brokerService)
setBrokerService in interface BrokerServiceAwarepublic Transport serverConfigure(Transport transport, WireFormat format, java.util.HashMap options) throws java.lang.Exception
TransportFactoryserverConfigure in class TransportFactoryjava.lang.Exceptionprotected Transport createInactivityMonitor(Transport transport, WireFormat format)
createInactivityMonitor in class TcpTransportFactoryCopyright © 2005-2012. All Rights Reserved.