38 строки
2.0 KiB
YAML
38 строки
2.0 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.sdk.iot.deps.transport.mqtt.MqttListener"
|
|
fullName: "com.microsoft.azure.sdk.iot.deps.transport.mqtt.MqttListener"
|
|
name: "MqttListener"
|
|
nameWithType: "MqttListener"
|
|
syntax: "public interface **MqttListener**"
|
|
methods:
|
|
- uid: "com.microsoft.azure.sdk.iot.deps.transport.mqtt.MqttListener.connectionLost(java.lang.Throwable)"
|
|
fullName: "com.microsoft.azure.sdk.iot.deps.transport.mqtt.MqttListener.connectionLost(Throwable throwable)"
|
|
name: "connectionLost(Throwable throwable)"
|
|
nameWithType: "MqttListener.connectionLost(Throwable throwable)"
|
|
summary: "Called by PAHO when the connection is lost"
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "the disconnection reason."
|
|
name: "throwable"
|
|
type: "<xref href=\"java.lang.Throwable?alt=java.lang.Throwable&text=Throwable\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public abstract void connectionLost(Throwable throwable)"
|
|
desc: "Called by PAHO when the connection is lost"
|
|
- uid: "com.microsoft.azure.sdk.iot.deps.transport.mqtt.MqttListener.messageReceived(com.microsoft.azure.sdk.iot.deps.transport.mqtt.MqttMessage)"
|
|
fullName: "com.microsoft.azure.sdk.iot.deps.transport.mqtt.MqttListener.messageReceived(MqttMessage message)"
|
|
name: "messageReceived(MqttMessage message)"
|
|
nameWithType: "MqttListener.messageReceived(MqttMessage message)"
|
|
summary: "Called when the message gets received by PAHO"
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "the received Mqtt message"
|
|
name: "message"
|
|
type: "<xref href=\"com.microsoft.azure.sdk.iot.deps.transport.mqtt.MqttMessage?alt=com.microsoft.azure.sdk.iot.deps.transport.mqtt.MqttMessage&text=MqttMessage\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public abstract void messageReceived(MqttMessage message)"
|
|
desc: "Called when the message gets received by PAHO"
|
|
type: "interface"
|
|
metadata: {}
|
|
package: "com.microsoft.azure.sdk.iot.deps.transport.mqtt"
|
|
artifact: com.microsoft.azure.sdk.iot:iot-deps:0.12.0
|