public class MicroEJSSLNetworkModuleFactory extends AbstractNetworkModuleFactory implements NetworkModuleFactory
Modifier and Type | Field and Description |
---|---|
static String |
CERTIFICATESLIST |
static String |
DEFAULTLIST |
Constructor and Description |
---|
MicroEJSSLNetworkModuleFactory() |
Modifier and Type | Method and Description |
---|---|
NetworkModule |
createNetworkModule(String address,
MqttConnectOptions options,
String clientId)
Factory methods to create the correct network module, based on the supplied address URI.
|
getHostName, getPort
public static final String CERTIFICATESLIST
public static final String DEFAULTLIST
public NetworkModule createNetworkModule(String address, MqttConnectOptions options, 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