All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.sdk.iot.device.transport.IotHubConnectionStatus Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
// 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