public interface NetworkModuleFactory
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.
|
NetworkModule createNetworkModule(java.lang.String address, MqttConnectOptions options, java.lang.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