com.microsoft.azure.sdk.iot.device.transport.IotHubConnectionStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iot-device-client Show documentation
Show all versions of iot-device-client Show documentation
The Microsoft Azure IoT Device SDK for Java
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package com.microsoft.azure.sdk.iot.device.transport;
public enum IotHubConnectionStatus
{
/**
* The device or module is connected.
* The client is connected, and ready to be used.
*/
CONNECTED,
/**
* The device or module is disconnected.
* Inspect the associated {@link com.microsoft.azure.sdk.iot.device.IotHubConnectionStatusChangeReason} returned (and exception thrown, if any), and take appropriate action.
*/
DISCONNECTED,
/**
* The device or module is attempting to reconnect.
* The client is attempting to recover the connection. Do NOT close or open the client instance when it is retrying.
*/
DISCONNECTED_RETRYING
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy