public interface NetworkModuleFactory
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.
|
NetworkModule createNetworkModule(String address, MqttConnectOptions options, String clientId) throws MqttException
address
- the URI of the server.options
- the connection options.clientId
- the client identifier that is unique on the server being connected to.MqttException