public class MQTTSslTransportFactory extends SslTransportFactory implements BrokerServiceAware
| Constructor and Description |
|---|
MQTTSslTransportFactory() |
| Modifier and Type | Method and Description |
|---|---|
Transport |
compositeConfigure(Transport transport,
WireFormat format,
Map options)
Overriding to allow for proper configuration through reflection but delegate to get common
configuration
|
protected Transport |
createInactivityMonitor(Transport transport,
WireFormat format) |
protected SslTransportServer |
createSslTransportServer(URI location,
SSLServerSocketFactory serverSocketFactory)
Allows subclasses of SslTransportFactory to create custom instances of
SslTransportServer.
|
protected String |
getDefaultWireFormatType() |
Transport |
serverConfigure(Transport transport,
WireFormat format,
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, createTransport, doBindcreateTcpTransport, createTcpTransportServer, createTransport, createTransport, isUseInactivityMonitorbind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getOption, registerTransportFactorypublic MQTTSslTransportFactory()
protected String getDefaultWireFormatType()
getDefaultWireFormatType in class TransportFactorypublic Transport compositeConfigure(Transport transport, WireFormat format, Map options)
SslTransportFactorycompositeConfigure in class SslTransportFactoryprotected SslTransportServer createSslTransportServer(URI location, SSLServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException
SslTransportFactorycreateSslTransportServer in class SslTransportFactoryIOExceptionURISyntaxExceptionpublic Transport serverConfigure(Transport transport, WireFormat format, HashMap options) throws Exception
TransportFactoryserverConfigure in class TransportFactoryExceptionpublic void setBrokerService(BrokerService brokerService)
setBrokerService in interface BrokerServiceAwareprotected Transport createInactivityMonitor(Transport transport, WireFormat format)
createInactivityMonitor in class TcpTransportFactoryCopyright © 2005–2016 The Apache Software Foundation. All rights reserved.