This commit is contained in:
VSC-Service-Account 2019-05-09 15:12:44 +00:00
Родитель 8454800601
Коммит 2ffa3cc0b4
5 изменённых файлов: 169 добавлений и 97 удалений

Просмотреть файл

@ -10,7 +10,7 @@ items:
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.disconnect()
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.incomingLock
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.messageArrived(String,MqttMessage)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String,Map<Integer, Message>)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.peekMessage()
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.publish(String,Message)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.receive()
@ -50,7 +50,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/Mqtt.java
startLine: 107
startLine: 108
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Method to connect to mqtt broker connection.</p>\r\n<p></p>"
syntax:
@ -72,7 +72,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/Mqtt.java
startLine: 345
startLine: 346
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Event fired when the connection with the MQTT broker is lost. </p>"
syntax:
@ -95,7 +95,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/Mqtt.java
startLine: 408
startLine: 409
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Event fired when the message arrived on the MQTT broker. </p>"
syntax:
@ -118,7 +118,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/Mqtt.java
startLine: 135
startLine: 136
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Method to disconnect to mqtt broker connection.</p>\r\n<p></p>"
syntax:
@ -159,7 +159,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/Mqtt.java
startLine: 391
startLine: 392
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Event fired when the message arrived on the MQTT broker. </p>"
syntax:
@ -171,15 +171,15 @@ items:
- id: mqttMessage
type: e1250987
description: <p>the message arrived on the Mqtt broker. </p>
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String)
id: Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String)
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String,Map<Integer, Message>)
id: Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String,Map<Integer, Message>)
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.yml
langs:
- java
name: Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
nameWithType: Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
name: Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
nameWithType: Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
overload: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt*
type: Constructor
source:
@ -189,7 +189,7 @@ items:
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Constructor to instantiate mqtt broker connection. </p>"
syntax:
content: public Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
content: public Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
parameters:
- id: mqttConnection
type: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttConnection
@ -203,6 +203,8 @@ items:
- id: connectionId
type: "26831127"
description: <p>the id of the connection </p>
- id: unacknowledgedSentMessages
type: ad938ee7com.microsoft.azure.sdk.iot.device.Messagea08ddfce
exceptions:
- type: 3c87bd19
description: <p>if the provided mqttConnection is null </p>
@ -220,7 +222,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/Mqtt.java
startLine: 439
startLine: 440
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
syntax:
content: public Pair<String, byte[]> peekMessage()
@ -240,7 +242,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/Mqtt.java
startLine: 169
startLine: 170
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Method to publish to mqtt broker connection.</p>\r\n<p></p>"
syntax:
@ -269,7 +271,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/Mqtt.java
startLine: 297
startLine: 298
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Method to receive messages on mqtt broker connection.</p>\r\n<p></p>"
syntax:
@ -297,7 +299,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/Mqtt.java
startLine: 451
startLine: 452
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Attempts to send ack for the provided message. If the message does not have a saved messageId in this layer, this function shall return false. </p>"
syntax:
@ -326,7 +328,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/Mqtt.java
startLine: 252
startLine: 253
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Method to subscribe to mqtt broker connection.</p>\r\n<p></p>"
syntax:
@ -353,6 +355,16 @@ references:
spec.java:
- name: String
fullName: String
- uid: ad938ee7com.microsoft.azure.sdk.iot.device.Messagea08ddfce
spec.java:
- name: 'Map<Integer, '
fullName: 'Map<Integer, '
- uid: com.microsoft.azure.sdk.iot.device.Message
name: Message
fullName: com.microsoft.azure.sdk.iot.device.Message
href: com.microsoft.azure.sdk.iot.device.Message.yml
- name: '>'
fullName: '>'
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt*
name: Mqtt
nameWithType: Mqtt.Mqtt
@ -463,15 +475,6 @@ references:
type: Class
syntax:
content: public class MqttMessaging
- uid: com.microsoft.azure.sdk.iot.device.Message
parent: com.microsoft.azure.sdk.iot.device
href: com.microsoft.azure.sdk.iot.device.Message.yml
name: Message
nameWithType: Message
fullName: com.microsoft.azure.sdk.iot.device.Message
type: Class
syntax:
content: public class Message
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttConnection
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttConnection.yml
@ -490,6 +493,15 @@ references:
type: Interface
syntax:
content: public interface MqttMessageListener
- uid: com.microsoft.azure.sdk.iot.device.Message
parent: com.microsoft.azure.sdk.iot.device
href: com.microsoft.azure.sdk.iot.device.Message.yml
name: Message
nameWithType: Message
fullName: com.microsoft.azure.sdk.iot.device.Message
type: Class
syntax:
content: public class Message
- uid: com.microsoft.azure.sdk.iot.device.transport.IotHubListener
parent: com.microsoft.azure.sdk.iot.device.transport
href: com.microsoft.azure.sdk.iot.device.transport.IotHubListener.yml

Просмотреть файл

@ -4,7 +4,7 @@ items:
id: MqttDeviceMethod
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt
children:
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod.MqttDeviceMethod(MqttConnection,String)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod.MqttDeviceMethod(MqttConnection,String,Map<Integer, Message>)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod.receive()
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod.send(final IotHubTransportMessage)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod.start()
@ -37,20 +37,20 @@ items:
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.disconnect()
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.incomingLock
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.messageArrived(String,MqttMessage)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String,Map<Integer, Message>)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.peekMessage()
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.publish(String,Message)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.sendMessageAcknowledgement(int)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.subscribe(String)
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod.MqttDeviceMethod(MqttConnection,String)
id: MqttDeviceMethod(MqttConnection,String)
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod.MqttDeviceMethod(MqttConnection,String,Map<Integer, Message>)
id: MqttDeviceMethod(MqttConnection,String,Map<Integer, Message>)
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod.yml
langs:
- java
name: MqttDeviceMethod(MqttConnection mqttConnection, String connectionId)
nameWithType: MqttDeviceMethod.MqttDeviceMethod(MqttConnection mqttConnection, String connectionId)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod.MqttDeviceMethod(MqttConnection mqttConnection, String connectionId)
name: MqttDeviceMethod(MqttConnection mqttConnection, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
nameWithType: MqttDeviceMethod.MqttDeviceMethod(MqttConnection mqttConnection, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod.MqttDeviceMethod(MqttConnection mqttConnection, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
overload: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod.MqttDeviceMethod*
type: Constructor
source:
@ -59,12 +59,14 @@ items:
startLine: 38
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
syntax:
content: public MqttDeviceMethod(MqttConnection mqttConnection, String connectionId)
content: public MqttDeviceMethod(MqttConnection mqttConnection, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
parameters:
- id: mqttConnection
type: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttConnection
- id: connectionId
type: "26831127"
- id: unacknowledgedSentMessages
type: ad938ee7com.microsoft.azure.sdk.iot.device.Messagea08ddfce
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod.receive()
id: receive()
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod
@ -154,6 +156,16 @@ references:
spec.java:
- name: String
fullName: String
- uid: ad938ee7com.microsoft.azure.sdk.iot.device.Messagea08ddfce
spec.java:
- name: 'Map<Integer, '
fullName: 'Map<Integer, '
- uid: com.microsoft.azure.sdk.iot.device.Message
name: Message
fullName: com.microsoft.azure.sdk.iot.device.Message
href: com.microsoft.azure.sdk.iot.device.Message.yml
- name: '>'
fullName: '>'
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceMethod.MqttDeviceMethod*
name: MqttDeviceMethod
nameWithType: MqttDeviceMethod.MqttDeviceMethod
@ -271,16 +283,16 @@ references:
- id: mqttMessage
type: e1250987
description: <p>the message arrived on the Mqtt broker. </p>
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String)
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String,Map<Integer, Message>)
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.yml
name: Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
nameWithType: Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
name: Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
nameWithType: Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
type: Constructor
summary: "<p>Constructor to instantiate mqtt broker connection. </p>"
syntax:
content: public Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
content: public Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
parameters:
- id: mqttConnection
type: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttConnection
@ -294,6 +306,8 @@ references:
- id: connectionId
type: "26831127"
description: <p>the id of the connection </p>
- id: unacknowledgedSentMessages
type: ad938ee7com.microsoft.azure.sdk.iot.device.Messagea08ddfce
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.peekMessage()
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.yml
@ -389,6 +403,15 @@ references:
type: Class
syntax:
content: public class MqttConnection
- uid: com.microsoft.azure.sdk.iot.device.Message
parent: com.microsoft.azure.sdk.iot.device
href: com.microsoft.azure.sdk.iot.device.Message.yml
name: Message
nameWithType: Message
fullName: com.microsoft.azure.sdk.iot.device.Message
type: Class
syntax:
content: public class Message
- uid: com.microsoft.azure.sdk.iot.device.exceptions.TransportException
parent: com.microsoft.azure.sdk.iot.device.exceptions
href: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.yml

Просмотреть файл

@ -4,7 +4,7 @@ items:
id: MqttDeviceTwin
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt
children:
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin.MqttDeviceTwin(MqttConnection,String)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin.MqttDeviceTwin(MqttConnection,String,Map<Integer, Message>)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin.receive()
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin.send(final IotHubTransportMessage)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin.start()
@ -37,20 +37,20 @@ items:
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.disconnect()
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.incomingLock
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.messageArrived(String,MqttMessage)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String,Map<Integer, Message>)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.peekMessage()
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.publish(String,Message)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.sendMessageAcknowledgement(int)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.subscribe(String)
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin.MqttDeviceTwin(MqttConnection,String)
id: MqttDeviceTwin(MqttConnection,String)
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin.MqttDeviceTwin(MqttConnection,String,Map<Integer, Message>)
id: MqttDeviceTwin(MqttConnection,String,Map<Integer, Message>)
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin.yml
langs:
- java
name: MqttDeviceTwin(MqttConnection mqttConnection, String connectionId)
nameWithType: MqttDeviceTwin.MqttDeviceTwin(MqttConnection mqttConnection, String connectionId)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin.MqttDeviceTwin(MqttConnection mqttConnection, String connectionId)
name: MqttDeviceTwin(MqttConnection mqttConnection, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
nameWithType: MqttDeviceTwin.MqttDeviceTwin(MqttConnection mqttConnection, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin.MqttDeviceTwin(MqttConnection mqttConnection, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
overload: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin.MqttDeviceTwin*
type: Constructor
source:
@ -59,12 +59,14 @@ items:
startLine: 52
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
syntax:
content: public MqttDeviceTwin(MqttConnection mqttConnection, String connectionId)
content: public MqttDeviceTwin(MqttConnection mqttConnection, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
parameters:
- id: mqttConnection
type: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttConnection
- id: connectionId
type: "26831127"
- id: unacknowledgedSentMessages
type: ad938ee7com.microsoft.azure.sdk.iot.device.Messagea08ddfce
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin.receive()
id: receive()
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin
@ -152,6 +154,16 @@ references:
spec.java:
- name: String
fullName: String
- uid: ad938ee7com.microsoft.azure.sdk.iot.device.Messagea08ddfce
spec.java:
- name: 'Map<Integer, '
fullName: 'Map<Integer, '
- uid: com.microsoft.azure.sdk.iot.device.Message
name: Message
fullName: com.microsoft.azure.sdk.iot.device.Message
href: com.microsoft.azure.sdk.iot.device.Message.yml
- name: '>'
fullName: '>'
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttDeviceTwin.MqttDeviceTwin*
name: MqttDeviceTwin
nameWithType: MqttDeviceTwin.MqttDeviceTwin
@ -265,16 +277,16 @@ references:
- id: mqttMessage
type: e1250987
description: <p>the message arrived on the Mqtt broker. </p>
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String)
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String,Map<Integer, Message>)
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.yml
name: Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
nameWithType: Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
name: Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
nameWithType: Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
type: Constructor
summary: "<p>Constructor to instantiate mqtt broker connection. </p>"
syntax:
content: public Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
content: public Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
parameters:
- id: mqttConnection
type: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttConnection
@ -288,6 +300,8 @@ references:
- id: connectionId
type: "26831127"
description: <p>the id of the connection </p>
- id: unacknowledgedSentMessages
type: ad938ee7com.microsoft.azure.sdk.iot.device.Messagea08ddfce
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.peekMessage()
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.yml
@ -383,6 +397,15 @@ references:
type: Class
syntax:
content: public class MqttConnection
- uid: com.microsoft.azure.sdk.iot.device.Message
parent: com.microsoft.azure.sdk.iot.device
href: com.microsoft.azure.sdk.iot.device.Message.yml
name: Message
nameWithType: Message
fullName: com.microsoft.azure.sdk.iot.device.Message
type: Class
syntax:
content: public class Message
- uid: com.microsoft.azure.sdk.iot.device.exceptions.TransportException
parent: com.microsoft.azure.sdk.iot.device.exceptions
href: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.yml

Просмотреть файл

@ -47,7 +47,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttIotHubConnection.java
startLine: 211
startLine: 212
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Closes the connection. After the connection is closed, it is no longer usable. If the connection is already closed, the function shall do nothing. </p>"
syntax:
@ -67,7 +67,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttIotHubConnection.java
startLine: 468
startLine: 469
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Gives the UUID associated with this connection instance. This string is used in conjunction with the callbacks with connection status updates to ensure that all connection status updates are relevant to this connection object</p>\r\n<p></p>"
syntax:
@ -90,7 +90,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttIotHubConnection.java
startLine: 63
startLine: 64
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Constructs an instance from the given <xref uid=\"com.microsoft.azure.sdk.iot.device.DeviceClientConfig\" data-throw-if-not-resolved=\"false\">DeviceClientConfig</xref> object.</p>\r\n<p></p>"
syntax:
@ -113,7 +113,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttIotHubConnection.java
startLine: 475
startLine: 476
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
syntax:
content: public void onMessageArrived(int messageId)
@ -135,7 +135,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttIotHubConnection.java
startLine: 102
startLine: 103
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Establishes a connection for the device and IoT Hub given in the client configuration. If the connection is already open, the function shall do nothing.</p>\r\n<p></p>"
syntax:
@ -163,7 +163,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttIotHubConnection.java
startLine: 259
startLine: 260
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Sends an event message.</p>\r\n<p></p>"
syntax:
@ -192,7 +192,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttIotHubConnection.java
startLine: 364
startLine: 365
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Sends an event message.</p>\r\n<p></p>"
syntax:
@ -222,7 +222,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttIotHubConnection.java
startLine: 419
startLine: 420
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Sends an ACK to the service for the provided message </p>"
syntax:
@ -255,7 +255,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttIotHubConnection.java
startLine: 342
startLine: 343
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Sets a listener into the Transport Connection object. This listener updates the Transport layer of connection status updates, message arrivals, and message acknowledgements </p>"
syntax:
@ -451,6 +451,15 @@ references:
summary: "<p>Extends Message, adding transport artifacts. </p>"
syntax:
content: public class IotHubTransportMessage extends Message
- uid: com.microsoft.azure.sdk.iot.device.Message
parent: com.microsoft.azure.sdk.iot.device
href: com.microsoft.azure.sdk.iot.device.Message.yml
name: Message
nameWithType: Message
fullName: com.microsoft.azure.sdk.iot.device.Message
type: Class
syntax:
content: public class Message
- uid: com.microsoft.azure.sdk.iot.device.transport.IotHubTransportConnection.open(Queue<DeviceClientConfig>,ScheduledExecutorService)
parent: com.microsoft.azure.sdk.iot.device.transport.IotHubTransportConnection
href: com.microsoft.azure.sdk.iot.device.transport.IotHubTransportConnection.yml
@ -496,15 +505,6 @@ references:
summary: "<p>An IoT Hub status code. Included in a message from an IoT Hub to a device. </p>"
syntax:
content: public enum IotHubStatusCode
- uid: com.microsoft.azure.sdk.iot.device.Message
parent: com.microsoft.azure.sdk.iot.device
href: com.microsoft.azure.sdk.iot.device.Message.yml
name: Message
nameWithType: Message
fullName: com.microsoft.azure.sdk.iot.device.Message
type: Class
syntax:
content: public class Message
- uid: com.microsoft.azure.sdk.iot.device.transport.IotHubTransportConnection.setListener(IotHubListener)
parent: com.microsoft.azure.sdk.iot.device.transport.IotHubTransportConnection
href: com.microsoft.azure.sdk.iot.device.transport.IotHubTransportConnection.yml

Просмотреть файл

@ -4,7 +4,7 @@ items:
id: MqttMessaging
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt
children:
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging.MqttMessaging(MqttConnection,String,IotHubListener,MqttMessageListener,String,String,boolean)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging.MqttMessaging(MqttConnection,String,IotHubListener,MqttMessageListener,String,String,boolean,Map<Integer, Message>)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging.send(Message)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging.start()
- com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging.stop()
@ -21,7 +21,7 @@ items:
branch: master
repo: https://github.com/Azure/azure-iot-sdk-java
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttMessaging.java
startLine: 14
startLine: 15
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
syntax:
content: public class MqttMessaging extends Mqtt
@ -36,30 +36,30 @@ items:
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.disconnect()
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.incomingLock
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.messageArrived(String,MqttMessage)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String,Map<Integer, Message>)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.peekMessage()
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.publish(String,Message)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.receive()
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.sendMessageAcknowledgement(int)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.subscribe(String)
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging.MqttMessaging(MqttConnection,String,IotHubListener,MqttMessageListener,String,String,boolean)
id: MqttMessaging(MqttConnection,String,IotHubListener,MqttMessageListener,String,String,boolean)
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging.MqttMessaging(MqttConnection,String,IotHubListener,MqttMessageListener,String,String,boolean,Map<Integer, Message>)
id: MqttMessaging(MqttConnection,String,IotHubListener,MqttMessageListener,String,String,boolean,Map<Integer, Message>)
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging.yml
langs:
- java
name: MqttMessaging(MqttConnection mqttConnection, String deviceId, IotHubListener listener, MqttMessageListener messageListener, String connectionId, String moduleId, boolean isEdgeHub)
nameWithType: MqttMessaging.MqttMessaging(MqttConnection mqttConnection, String deviceId, IotHubListener listener, MqttMessageListener messageListener, String connectionId, String moduleId, boolean isEdgeHub)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging.MqttMessaging(MqttConnection mqttConnection, String deviceId, IotHubListener listener, MqttMessageListener messageListener, String connectionId, String moduleId, boolean isEdgeHub)
name: MqttMessaging(MqttConnection mqttConnection, String deviceId, IotHubListener listener, MqttMessageListener messageListener, String connectionId, String moduleId, boolean isEdgeHub, Map<Integer, Message> unacknowledgedSentMessages)
nameWithType: MqttMessaging.MqttMessaging(MqttConnection mqttConnection, String deviceId, IotHubListener listener, MqttMessageListener messageListener, String connectionId, String moduleId, boolean isEdgeHub, Map<Integer, Message> unacknowledgedSentMessages)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging.MqttMessaging(MqttConnection mqttConnection, String deviceId, IotHubListener listener, MqttMessageListener messageListener, String connectionId, String moduleId, boolean isEdgeHub, Map<Integer, Message> unacknowledgedSentMessages)
overload: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging.MqttMessaging*
type: Constructor
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttMessaging.java
startLine: 22
startLine: 23
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
syntax:
content: public MqttMessaging(MqttConnection mqttConnection, String deviceId, IotHubListener listener, MqttMessageListener messageListener, String connectionId, String moduleId, boolean isEdgeHub)
content: public MqttMessaging(MqttConnection mqttConnection, String deviceId, IotHubListener listener, MqttMessageListener messageListener, String connectionId, String moduleId, boolean isEdgeHub, Map<Integer, Message> unacknowledgedSentMessages)
parameters:
- id: mqttConnection
type: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttConnection
@ -75,6 +75,8 @@ items:
type: "26831127"
- id: isEdgeHub
type: 4fc6e284
- id: unacknowledgedSentMessages
type: ad938ee7com.microsoft.azure.sdk.iot.device.Messagea08ddfce
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging.send(Message)
id: send(Message)
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging
@ -89,7 +91,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttMessaging.java
startLine: 81
startLine: 82
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
summary: "<p>Sends the provided telemetry message over the mqtt connection</p>\r\n<p></p>"
syntax:
@ -115,7 +117,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttMessaging.java
startLine: 52
startLine: 53
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
syntax:
content: public void start()
@ -133,7 +135,7 @@ items:
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/MqttMessaging.java
startLine: 69
startLine: 70
package: com.microsoft.azure.sdk.iot.device.transport.mqtt
syntax:
content: public void stop()
@ -146,6 +148,16 @@ references:
spec.java:
- name: boolean
fullName: boolean
- uid: ad938ee7com.microsoft.azure.sdk.iot.device.Messagea08ddfce
spec.java:
- name: 'Map<Integer, '
fullName: 'Map<Integer, '
- uid: com.microsoft.azure.sdk.iot.device.Message
name: Message
fullName: com.microsoft.azure.sdk.iot.device.Message
href: com.microsoft.azure.sdk.iot.device.Message.yml
- name: '>'
fullName: '>'
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttMessaging.MqttMessaging*
name: MqttMessaging
nameWithType: MqttMessaging.MqttMessaging
@ -246,16 +258,16 @@ references:
- id: mqttMessage
type: e1250987
description: <p>the message arrived on the Mqtt broker. </p>
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String)
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection,IotHubListener,MqttMessageListener,String,Map<Integer, Message>)
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.yml
name: Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
nameWithType: Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
name: Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
nameWithType: Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
type: Constructor
summary: "<p>Constructor to instantiate mqtt broker connection. </p>"
syntax:
content: public Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId)
content: public Mqtt(MqttConnection mqttConnection, IotHubListener listener, MqttMessageListener messageListener, String connectionId, Map<Integer, Message> unacknowledgedSentMessages)
parameters:
- id: mqttConnection
type: com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttConnection
@ -269,6 +281,8 @@ references:
- id: connectionId
type: "26831127"
description: <p>the id of the connection </p>
- id: unacknowledgedSentMessages
type: ad938ee7com.microsoft.azure.sdk.iot.device.Messagea08ddfce
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.peekMessage()
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.Mqtt.yml
@ -381,15 +395,6 @@ references:
type: Interface
syntax:
content: public interface MqttMessageListener
- uid: com.microsoft.azure.sdk.iot.device.exceptions.TransportException
parent: com.microsoft.azure.sdk.iot.device.exceptions
href: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.yml
name: TransportException
nameWithType: TransportException
fullName: com.microsoft.azure.sdk.iot.device.exceptions.TransportException
type: Class
syntax:
content: public class TransportException
- uid: com.microsoft.azure.sdk.iot.device.Message
parent: com.microsoft.azure.sdk.iot.device
href: com.microsoft.azure.sdk.iot.device.Message.yml
@ -399,3 +404,12 @@ references:
type: Class
syntax:
content: public class Message
- uid: com.microsoft.azure.sdk.iot.device.exceptions.TransportException
parent: com.microsoft.azure.sdk.iot.device.exceptions
href: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.yml
name: TransportException
nameWithType: TransportException
fullName: com.microsoft.azure.sdk.iot.device.exceptions.TransportException
type: Class
syntax:
content: public class TransportException