com.esf.net.mqtt.client.service
Interface IEsfMqttService
public interface IEsfMqttService
 
 
SERVICE_NAME
static final java.lang.String SERVICE_NAME
createGenericIEsfMqttClient
IEsfMqttClient createGenericIEsfMqttClient(java.lang.String brokerAddress,
                                           int brokerPort)
                                           throws EsfMqttException
- Returns a generic IEsfMqttClient implementation using the specified broker address and port number.
 If the method fails, an exception will be thrown indicating the cause of the failure.
- Parameters:
 brokerAddress - A String object specifying the broker address.brokerPort - An integer specifying the broker port.
- Returns:
 - An IEsfMqttClient implementation.
 - Throws:
 EsfMqttException
 
 
createCloudIEsfMqttClient
IEsfMqttCloudClient createCloudIEsfMqttClient(java.lang.String clientId)
                                              throws EsfMqttException
- Returns a IEsfMqttCloudClient implementation.  If the method fails, an exception 
 will be thrown indicating the cause of the failure.
- Parameters:
 clientId - A String object specifying the client ID.
- Returns:
 - An IEsfMqttCloudClient implementation.
 - Throws:
 EsfMqttException
 
 
getEsfMqttMasterClient
IEsfMqttMasterClient getEsfMqttMasterClient()
- Returns an interface to the ESF MQtt Master Client.  An unique application ID must be specified and used
 with every publish and subscribe call to insure proper callback handling within the master client.
- Returns:
 - An IEsfMqttMasterClient implementation.