public class MicroEJSSLNetworkModuleFactory extends AbstractNetworkModuleFactory implements NetworkModuleFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CERTIFICATESLIST |
static java.lang.String |
DEFAULTLIST |
Constructor and Description |
---|
MicroEJSSLNetworkModuleFactory() |
Modifier and Type | Method and Description |
---|---|
NetworkModule |
createNetworkModule(java.lang.String address,
MqttConnectOptions options,
java.lang.String clientId)
Factory methods to create the correct network module, based on the supplied address URI.
|
getHostName, getPort
public static final java.lang.String DEFAULTLIST
public static final java.lang.String CERTIFICATESLIST
public NetworkModule createNetworkModule(java.lang.String address, MqttConnectOptions options, java.lang.String clientId) throws MqttException, MqttSecurityException
NetworkModuleFactory
createNetworkModule
in interface NetworkModuleFactory
address
- the URI of the server.options
- the connection options.clientId
- the client identifier that is unique on the server being connected to.MqttException
MqttSecurityException