- callback - Variable in class com.microsoft.azure.sdk.iot.device.transport.IotHubCallbackPacket
-
- callback - Variable in class com.microsoft.azure.sdk.iot.device.transport.IotHubOutboundPacket
-
- callbackContext - Variable in class com.microsoft.azure.sdk.iot.device.transport.IotHubCallbackPacket
-
- callbackContext - Variable in class com.microsoft.azure.sdk.iot.device.transport.IotHubOutboundPacket
-
- callbackList - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
Messages whose callbacks that are waiting to be invoked.
- callbackList - Variable in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
-
Messages whose callbacks that are waiting to be invoked.
- canonicalizeFieldName(String) - Static method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsResponse
-
- clientVersion - Static variable in class com.microsoft.azure.sdk.iot.device.transport.TransportUtils
-
- close() - Method in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
Completes all current outstanding requests and closes the IoT Hub client.
- close() - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
- close() - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsTransport
-
Closes all resources used to communicate with an IoT Hub.
- close() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
Closes all resources used to communicate with an IoT Hub.
- close() - Method in interface com.microsoft.azure.sdk.iot.device.transport.IotHubTransport
-
Closes all resources used to communicate with an IoT Hub.
- close() - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttIotHubConnection
-
Closes the connection.
- close() - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
-
Closes all resources used to communicate with an IoT Hub.
- com.microsoft.azure.sdk.iot.device - package com.microsoft.azure.sdk.iot.device
-
The API for a device to communicate with an IoT Hub.
- com.microsoft.azure.sdk.iot.device.auth - package com.microsoft.azure.sdk.iot.device.auth
-
Authenticates a device to an IoT Hub via SAS tokens.
- com.microsoft.azure.sdk.iot.device.net - package com.microsoft.azure.sdk.iot.device.net
-
IoT Hub resource URIs.
- com.microsoft.azure.sdk.iot.device.transport - package com.microsoft.azure.sdk.iot.device.transport
-
A transport for sending and receiving IoT Hub messages, along with supporting
functionality.
- com.microsoft.azure.sdk.iot.device.transport.amqps - package com.microsoft.azure.sdk.iot.device.transport.amqps
-
AMQPS IoT Hub transport and communication classes.
- com.microsoft.azure.sdk.iot.device.transport.https - package com.microsoft.azure.sdk.iot.device.transport.https
-
HTTPS IoT Hub transport and communication classes.
- com.microsoft.azure.sdk.iot.device.transport.mqtt - package com.microsoft.azure.sdk.iot.device.transport.mqtt
-
- COMPLETE_PATH_FORMAT - Static variable in class com.microsoft.azure.sdk.iot.device.net.IotHubCompleteUri
-
The path to be appended to an IoT Hub URI.
- config - Variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
- config - Variable in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
- config - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsIotHubConnection
-
The client configuration.
- config - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
- config - Variable in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttIotHubConnection
-
- config - Variable in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
-
- connect() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
-
Sends the request to the URL given in the constructor.
- connection - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
-
The underlying HTTPS connection.
- connection - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsRequest
-
The underlying HTTPS connection stream.
- connection - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
The underlying HTTPS connection.
- CONNECTION_STRING_CHARSET - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
The charset used for URL-encoding the device ID in the connection
string.
- connectionLost() - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsTransport
-
If the connection is lost, all the messages in progress are buffered to be sent again.
- connectionLost() - Method in interface com.microsoft.azure.sdk.iot.device.transport.amqps.ServerListener
-
Method executed when the connection with the IoTHub is lost.
- connectionLost(Throwable) - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttIotHubConnection
-
Event fired when the connection with the MQTT broker is lost.
- generateSleepInterval(int) - Static method in class com.microsoft.azure.sdk.iot.device.transport.TransportUtils
-
Generates a reconnection time with an exponential backoff
and a maximum value of 60 seconds.
- getBody() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage
-
Returns the current batch body as a UTF-8 encoded byte array.
- getBody() - Method in interface com.microsoft.azure.sdk.iot.device.transport.https.HttpsMessage
-
Gets the message body.
- getBody() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsResponse
-
Getter for the response body.
- getBody() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
-
Returns a copy of the message body.
- getBodyAsString() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
-
Returns the message body as a string.
- getBodyStream() - Method in class com.microsoft.azure.sdk.iot.device.Message
-
- getBytes() - Method in class com.microsoft.azure.sdk.iot.device.Message
-
The byte content of the body.
- getCallback() - Method in class com.microsoft.azure.sdk.iot.device.transport.IotHubCallbackPacket
-
Getter for the callback to be invoked for the completed request.
- getCallback() - Method in class com.microsoft.azure.sdk.iot.device.transport.IotHubOutboundPacket
-
Getter for the callback to be invoked when a response is received.
- getContentType() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage
-
Returns the message content-type as 'application/vnd.microsoft.iothub.json'.
- getContentType() - Method in interface com.microsoft.azure.sdk.iot.device.transport.https.HttpsMessage
-
Gets the message content type.
- getContentType() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
-
Returns the message content-type as 'binary/octet-stream'.
- getContext() - Method in class com.microsoft.azure.sdk.iot.device.transport.IotHubCallbackPacket
-
Getter for the context to be passed in to the callback when it is
invoked.
- getContext() - Method in class com.microsoft.azure.sdk.iot.device.transport.IotHubOutboundPacket
-
Getter for the context to be passed to the callback when it is invoked.
- getCorrelationId() - Method in class com.microsoft.azure.sdk.iot.device.Message
-
Getter for the correlationId property
- getDefaultCertificate() - Method in class com.microsoft.azure.sdk.iot.device.DefaultCertificate
-
- getDeviceId() - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Getter for the device ID.
- getDeviceKey() - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Getter for the device key.
- getErrorReason() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsResponse
-
Getter for the error reason.
- getHeaderField(String) - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsResponse
-
Getter for a header field.
- getHeaderFields() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsResponse
-
Getter for the header fields.
- getHostname() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubAbandonUri
-
Returns the string representation of the IoT Hub hostname.
- getHostname() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubCompleteUri
-
Returns the string representation of the IoT Hub hostname.
- getHostname() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubEventUri
-
Returns the string representation of the IoT Hub hostname.
- getHostname() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri
-
Returns the string representation of the IoT Hub hostname.
- getHostname() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubRejectUri
-
Returns the string representation of the IoT Hub hostname.
- getHostname() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubUri
-
Returns the string representation of the IoT Hub hostname.
- getIotHubHostname() - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Getter for the IoT Hub hostname.
- getIotHubName() - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Getter for the IoT Hub name.
- getIotHubStatusCode(int) - Static method in enum com.microsoft.azure.sdk.iot.device.IotHubStatusCode
-
Returns the IoT Hub status code referenced by the HTTPS status code.
- getMessage() - Method in class com.microsoft.azure.sdk.iot.device.transport.IotHubOutboundPacket
-
Getter for the message to be sent.
- getMessageCallback() - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Getter for the message callback.
- getMessageContext() - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Getter for the context to be passed in to the message callback.
- getMessageId() - Method in class com.microsoft.azure.sdk.iot.device.Message
-
Getter for the messageId property
- getMessageLockTimeoutSecs() - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Getter for the timeout, in seconds, for the lock that the client has on a
received message.
- getName() - Method in class com.microsoft.azure.sdk.iot.device.MessageProperty
-
Returns the property name.
- getPath() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubAbandonUri
-
Returns the string representation of the IoT Hub path.
- getPath() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubCompleteUri
-
Returns the string representation of the IoT Hub path.
- getPath() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubEventUri
-
Returns the string representation of the IoT Hub path.
- getPath() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri
-
Returns the string representation of the IoT Hub path.
- getPath() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubRejectUri
-
Returns the string representation of the IoT Hub path.
- getPath() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubUri
-
Returns the string representation of the IoT Hub path.
- getPathToCertificate() - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Getter for the path to the certificate.
- getProperties() - Method in class com.microsoft.azure.sdk.iot.device.Message
-
Returns a copy of the message properties.
- getProperties() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage
-
Returns an empty list of properties for the batched message.
- getProperties() - Method in interface com.microsoft.azure.sdk.iot.device.transport.https.HttpsMessage
-
Gets the collection of message properties.
- getProperties() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
-
Returns a copy of the message properties.
- getProperty(String) - Method in class com.microsoft.azure.sdk.iot.device.Message
-
Gets the values of user-defined properties of this Message.
- getReadTimeoutMillis() - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Getter for the timeout, in milliseconds, after a connection is
established for the server to respond to the request.
- getResourceUri(String, String) - Static method in class com.microsoft.azure.sdk.iot.device.net.IotHubUri
-
Returns the string representation of the IoT Hub resource URI.
- getResponseHeaders() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
-
Returns the response headers as a
Map, where the key is the
header field name and the values are the values associated with the
header field name.
- getResponseStatus() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
-
Returns the response status code.
- getSharedAccessToken() - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Getter for the shared access signature.
- getStatus() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsResponse
-
Getter for the HTTPS status code.
- getStatus() - Method in class com.microsoft.azure.sdk.iot.device.transport.IotHubCallbackPacket
-
Getter for the response status code.
- getTokenValidSecs() - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Getter for the number of seconds a SAS token should be valid for.
- getValue() - Method in class com.microsoft.azure.sdk.iot.device.MessageProperty
-
Returns the property value.
- handleMessage() - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsTransport
-
Invokes the message callback if a message is found and
responds to the IoT Hub on how the processed message should be
handled by the IoT Hub.
- handleMessage() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
Invokes the message callback if a message is found and
responds to the IoT Hub on how the processed message should be
handled by the IoT Hub.
- handleMessage() - Method in interface com.microsoft.azure.sdk.iot.device.transport.IotHubTransport
-
Invokes the message callback if a message is found and
responds to the IoT Hub on how the processed message should be
handled by the IoT Hub.
- handleMessage() - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
-
Invokes the message callback every time a message arrives from the server.
- handleMessageLock - Variable in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
-
- hasSameName(String) - Method in class com.microsoft.azure.sdk.iot.device.MessageProperty
-
Equivalent to property.getName().equalsIgnoreCase(name).
- headerFields - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsResponse
-
- hostname - Variable in class com.microsoft.azure.sdk.iot.device.net.IotHubUri
-
The IoT Hub resource URI is the hostname and path component that is
common to all IoT Hub communication methods between the given device and
IoT Hub.
- HOSTNAME_ATTRIBUTE - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
The hostname attribute name in a connection string.
- HTTPS_APP_PROPERTY_PREFIX - Static variable in interface com.microsoft.azure.sdk.iot.device.transport.https.HttpsMessage
-
The prefix to be added to an HTTPS application-defined property.
- HTTPS_BATCH_CONTENT_TYPE - Static variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage
-
The value for the "content-type" header field in a batched HTTPS
request.
- HTTPS_CONNECTION_LOCK - Static variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsIotHubConnection
-
The HTTPS connection lock.
- HTTPS_SINGLE_MESSAGE_CONTENT_TYPE - Static variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
-
- httpsAppPropertyToAppProperty(String) - Static method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
-
Returns an application-defined property name with the prefix 'iothub-app'
removed.
- HttpsBatchMessage - Class in com.microsoft.azure.sdk.iot.device.transport.https
-
Builds a batched IoT Hub request body as a JSON array.
- HttpsBatchMessage() - Constructor for class com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage
-
Constructor.
- HttpsConnection - Class in com.microsoft.azure.sdk.iot.device.transport.https
-
- HttpsConnection(URL, HttpsMethod) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
-
Constructor.
- HttpsConnection() - Constructor for class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
-
- HttpsIotHubConnection - Class in com.microsoft.azure.sdk.iot.device.transport.https
-
An HTTPS connection between a device and an IoT Hub.
- HttpsIotHubConnection(DeviceClientConfig) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.https.HttpsIotHubConnection
-
- HttpsMessage - Interface in com.microsoft.azure.sdk.iot.device.transport.https
-
An HTTPS message.
- HttpsMethod - Enum in com.microsoft.azure.sdk.iot.device.transport.https
-
The HTTPS request method (i.e.
- HttpsRequest - Class in com.microsoft.azure.sdk.iot.device.transport.https
-
An HTTPS request.
- HttpsRequest(URL, HttpsMethod, byte[]) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.https.HttpsRequest
-
Constructor.
- HttpsRequest() - Constructor for class com.microsoft.azure.sdk.iot.device.transport.https.HttpsRequest
-
- HttpsResponse - Class in com.microsoft.azure.sdk.iot.device.transport.https
-
An HTTPS response.
- HttpsResponse(int, byte[], Map<String, List<String>>, byte[]) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.https.HttpsResponse
-
Constructor.
- HttpsResponse() - Constructor for class com.microsoft.azure.sdk.iot.device.transport.https.HttpsResponse
-
- HttpsSingleMessage - Class in com.microsoft.azure.sdk.iot.device.transport.https
-
A single HTTPS message.
- HttpsSingleMessage() - Constructor for class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
-
- HttpsTransport - Class in com.microsoft.azure.sdk.iot.device.transport.https
-
An HTTPS transport.
- HttpsTransport(DeviceClientConfig) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
- HttpsTransport.HttpsTransportState - Enum in com.microsoft.azure.sdk.iot.device.transport.https
-
The state of the HTTPS transport.
- initIotHubClient(String, String, String, String, IotHubClientProtocol) - Method in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
Initializes an IoT Hub device client with the given parameters.
- inProgressList - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
Messages that are waiting for a response from an IoT Hub.
- inProgressListToMessage() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
Generates the message, possibly batched, to be sent using the messages in
the in-progress list.
- invokeCallbacks() - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsTransport
-
Invokes the callbacks for all completed requests.
- invokeCallbacks() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
Invokes the callbacks for all completed requests.
- invokeCallbacks() - Method in interface com.microsoft.azure.sdk.iot.device.transport.IotHubTransport
-
Invokes the callbacks for all completed requests.
- invokeCallbacks() - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
-
Invokes the callbacks for all completed requests.
- IOTHUB_URL_ENCODING_CHARSET - Static variable in class com.microsoft.azure.sdk.iot.device.net.IotHubUri
-
The charset used when URL-encoding the IoT Hub name and device ID.
- IotHubAbandonUri - Class in com.microsoft.azure.sdk.iot.device.net
-
A URI for a device to instruct an IoT Hub to mark a message as being
abandoned.
- IotHubAbandonUri(String, String, String) - Constructor for class com.microsoft.azure.sdk.iot.device.net.IotHubAbandonUri
-
Constructor.
- IotHubAbandonUri() - Constructor for class com.microsoft.azure.sdk.iot.device.net.IotHubAbandonUri
-
- IotHubCallbackPacket - Class in com.microsoft.azure.sdk.iot.device.transport
-
A packet containing the data needed for an IoT Hub transport to invoke a
callback.
- IotHubCallbackPacket(IotHubStatusCode, IotHubEventCallback, Object) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.IotHubCallbackPacket
-
Constructor.
- IotHubClientProtocol - Enum in com.microsoft.azure.sdk.iot.device
-
The application-layer protocol used by the client to communicate with an IoT
Hub.
- IotHubCompleteUri - Class in com.microsoft.azure.sdk.iot.device.net
-
A URI for a device to instruct an IoT Hub to mark a message as being
completed.
- IotHubCompleteUri(String, String, String) - Constructor for class com.microsoft.azure.sdk.iot.device.net.IotHubCompleteUri
-
Constructor.
- IotHubCompleteUri() - Constructor for class com.microsoft.azure.sdk.iot.device.net.IotHubCompleteUri
-
- IotHubEventCallback - Interface in com.microsoft.azure.sdk.iot.device
-
An interface for an IoT Hub event callback.
- IotHubEventUri - Class in com.microsoft.azure.sdk.iot.device.net
-
A URI for a device to send event to an IoT Hub.
- IotHubEventUri(String, String) - Constructor for class com.microsoft.azure.sdk.iot.device.net.IotHubEventUri
-
Constructor.
- IotHubEventUri() - Constructor for class com.microsoft.azure.sdk.iot.device.net.IotHubEventUri
-
- iotHubHostname - Variable in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
- IotHubMessageResult - Enum in com.microsoft.azure.sdk.iot.device
-
A return value from a message callback that instructs an IoT Hub to
complete, abandon, or reject the message.
- IotHubMessageUri - Class in com.microsoft.azure.sdk.iot.device.net
-
A URI for a device to poll for messages from an IoT Hub.
- IotHubMessageUri(String, String) - Constructor for class com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri
-
Constructor.
- IotHubMessageUri() - Constructor for class com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri
-
- iotHubName - Variable in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
- IotHubOutboundPacket - Class in com.microsoft.azure.sdk.iot.device.transport
-
A packet containing the data needed for an IoT Hub transport to send a
message.
- IotHubOutboundPacket(Message, IotHubEventCallback, Object) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.IotHubOutboundPacket
-
Constructor.
- IotHubReactor - Class in com.microsoft.azure.sdk.iot.device.transport.amqps
-
- IotHubReactor(Reactor) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.amqps.IotHubReactor
-
- IotHubReceiveTask - Class in com.microsoft.azure.sdk.iot.device.transport
-
Polls an IoT Hub for messages and invokes a callback if one is found.
- IotHubReceiveTask(IotHubTransport) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.IotHubReceiveTask
-
- IotHubRejectUri - Class in com.microsoft.azure.sdk.iot.device.net
-
A URI for a device to instruct an IoT Hub to mark a message as being
rejected.
- IotHubRejectUri(String, String, String) - Constructor for class com.microsoft.azure.sdk.iot.device.net.IotHubRejectUri
-
Constructor.
- IotHubRejectUri() - Constructor for class com.microsoft.azure.sdk.iot.device.net.IotHubRejectUri
-
- IotHubSasToken - Class in com.microsoft.azure.sdk.iot.device.auth
-
Grants device access to an IoT Hub for the specified amount of time.
- IotHubSasToken(DeviceClientConfig, long) - Constructor for class com.microsoft.azure.sdk.iot.device.auth.IotHubSasToken
-
Constructor.
- IotHubSasToken() - Constructor for class com.microsoft.azure.sdk.iot.device.auth.IotHubSasToken
-
- IotHubSendTask - Class in com.microsoft.azure.sdk.iot.device.transport
-
Sends batched messages and invokes callbacks on completed requests.
- IotHubSendTask(IotHubTransport) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.IotHubSendTask
-
- IotHubStatusCode - Enum in com.microsoft.azure.sdk.iot.device
-
An IoT Hub status code.
- IotHubTransport - Interface in com.microsoft.azure.sdk.iot.device.transport
-
An interface for an IoT Hub transport.
- IotHubUri - Class in com.microsoft.azure.sdk.iot.device.net
-
A URI for a device to connect to an IoT Hub.
- IotHubUri(String, String, String, Map<String, String>) - Constructor for class com.microsoft.azure.sdk.iot.device.net.IotHubUri
-
Constructor.
- IotHubUri(String, String, String) - Constructor for class com.microsoft.azure.sdk.iot.device.net.IotHubUri
-
Constructor.
- IotHubUri() - Constructor for class com.microsoft.azure.sdk.iot.device.net.IotHubUri
-
- isBase64Encoded() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
-
Returns whether the message is Base64-encoded.
- isEmpty() - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsTransport
-
Returns true if the transport has no more messages to handle,
and false otherwise.
- isEmpty() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
Returns true if the transport has no more messages to handle, and false
otherwise.
- isEmpty() - Method in interface com.microsoft.azure.sdk.iot.device.transport.IotHubTransport
-
Returns true if the transport has no more messages to handle,
and false otherwise.
- isEmpty() - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
-
Returns true if the transport has no more messages to handle,
and false otherwise.
- isExpired() - Method in class com.microsoft.azure.sdk.iot.device.Message
-
Verifies whether the message is expired or not
- isSasFormat() - Method in class com.microsoft.azure.sdk.iot.device.auth.IotHubSasToken
-
- isValidAppProperty(String, String) - Static method in class com.microsoft.azure.sdk.iot.device.MessageProperty
-
Returns whether the property is a valid application property.
- isValidHttpsAppProperty(String, String) - Static method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
-
Returns whether the property name and value constitute a valid HTTPS
application property.
- Message - Class in com.microsoft.azure.sdk.iot.device
-
- Message() - Constructor for class com.microsoft.azure.sdk.iot.device.Message
-
Constructor.
- Message(ByteArrayInputStream) - Constructor for class com.microsoft.azure.sdk.iot.device.Message
-
Constructor.
- Message(byte[]) - Constructor for class com.microsoft.azure.sdk.iot.device.Message
-
Constructor.
- Message(String) - Constructor for class com.microsoft.azure.sdk.iot.device.Message
-
Constructor.
- message - Variable in class com.microsoft.azure.sdk.iot.device.transport.IotHubOutboundPacket
-
- MESSAGE_PATH - Static variable in class com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri
-
The path to be appended to an IoT Hub URI.
- messageArrived(String, MqttMessage) - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttIotHubConnection
-
- messageCallback - Variable in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
The callback to be invoked if a message is received.
- MessageCallback - Interface in com.microsoft.azure.sdk.iot.device
-
An interface for an IoT Hub message callback.
- messageContext - Variable in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
The context to be passed in to the message callback.
- messageEtag - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsIotHubConnection
-
The message e-tag.
- MessageProperty - Class in com.microsoft.azure.sdk.iot.device
-
An IoT Hub message property.
- MessageProperty(String, String) - Constructor for class com.microsoft.azure.sdk.iot.device.MessageProperty
-
Constructor.
- MessageProperty() - Constructor for class com.microsoft.azure.sdk.iot.device.MessageProperty
-
- messageReceived(AmqpsMessage) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsTransport
-
When a message is received, it is added to the list of messages to be processed.
- messageReceived(AmqpsMessage) - Method in interface com.microsoft.azure.sdk.iot.device.transport.amqps.ServerListener
-
Method executed when a message was received from IoTHub.
- messageSent(Integer, Boolean) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsTransport
-
When a message is acknowledged by IoTHub, it is removed from the list of in progress messages and its callback
is added to the list of callbacks to be executed.
- messageSent(Integer, Boolean) - Method in interface com.microsoft.azure.sdk.iot.device.transport.amqps.ServerListener
-
Method executed when a message was acknowledged by IoTHub.
- moveInProgressListToCallbackList(IotHubStatusCode) - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
Moves messages from the in progress list to the callback list, updating
the message packets with the status code from the response.
- moveWaitingListToInProgressList() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
Moves as many messages as can be sent in one HTTPS request from the
waiting list to the in-progress list.
- MQTT_CONNECTION_LOCK - Variable in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttIotHubConnection
-
The MQTT connection lock.
- MqttIotHubConnection - Class in com.microsoft.azure.sdk.iot.device.transport.mqtt
-
- MqttIotHubConnection(DeviceClientConfig) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttIotHubConnection
-
- mqttIotHubConnection - Variable in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
-
The MQTT connection.
- MqttTransport - Class in com.microsoft.azure.sdk.iot.device.transport.mqtt
-
An MQTT transport.
- MqttTransport(DeviceClientConfig) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
-
- msgToJson(HttpsSingleMessage) - Static method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage
-
Converts a service-bound message to a JSON object with the correct
format.
- ObjectLock - Class in com.microsoft.azure.sdk.iot.device
-
This class enables mocking of the base class wait and notify functions
- ObjectLock() - Constructor for class com.microsoft.azure.sdk.iot.device.ObjectLock
-
- onConnectionBound(Event) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
Event handler for the connection bound event.
- onConnectionInit(Event) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
Event handler for the connection init event
- onConnectionUnbound(Event) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
- onDelivery(Event) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
Event handler for the delivery event.
- onLinkFlow(Event) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
Event handler for the link flow event.
- onLinkInit(Event) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
Event handler for the link init event.
- onLinkRemoteClose(Event) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
Event handler for the link remote close event.
- onLinkRemoteOpen(Event) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
Event handler for the link remote open event.
- onReactorFinal(Event) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
- onReactorInit(Event) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
Event handler for reactor init event.
- onTransportError(Event) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
Event handler for the transport error event.
- open() - Method in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
Starts asynchronously sending and receiving messages from an IoT Hub.
- open() - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
- open() - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsTransport
-
Establishes a communication channel with an IoT Hub.
- open() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
Establishes a communication channel with an IoT Hub.
- open() - Method in interface com.microsoft.azure.sdk.iot.device.transport.IotHubTransport
-
Establishes a communication channel with an IoT Hub.
- open() - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttIotHubConnection
-
Establishes a connection for the device and IoT Hub given in the client
configuration.
- open() - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
-
Establishes a communication channel with an IoT Hub.
- sanitizeEtag(String) - Static method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsIotHubConnection
-
Removes double quotes from the e-tag property.
- sasToken - Variable in class com.microsoft.azure.sdk.iot.device.auth.IotHubSasToken
-
- scope - Variable in class com.microsoft.azure.sdk.iot.device.auth.IotHubSasToken
-
The URI for a connection from a device to an IoT Hub.
- send() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsRequest
-
Executes the HTTPS request.
- SEND_PERIOD_MILLIS - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
The number of milliseconds the transport will wait between
sending out messages.
- sendEvent(HttpsMessage) - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsIotHubConnection
-
Sends an event message.
- sendEvent(Message) - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttIotHubConnection
-
Sends an event message.
- sendEventAsync(Message, IotHubEventCallback, Object) - Method in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
Asynchronously sends an event message to the IoT Hub.
- sendMessage(Message) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
Creates a binary message using the given content and messageId.
- sendMessageResult(AmqpsMessage, IotHubMessageResult) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
Sends the message result for the previously received message.
- sendMessageResult(IotHubMessageResult) - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsIotHubConnection
-
Sends the message result for the previously received
message.
- sendMessages() - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsTransport
-
Sends all messages from the waiting list, one at a time.
- sendMessages() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
Sends all messages on the transport queue as a batched request.
- sendMessages() - Method in interface com.microsoft.azure.sdk.iot.device.transport.IotHubTransport
-
Sends all messages on the transport queue.
- sendMessages() - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
-
Sends all messages on the transport queue, one at a time.
- sendMessagesLock - Variable in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
-
The MQTT connection lock.
- ServerListener - Interface in com.microsoft.azure.sdk.iot.device.transport.amqps
-
Defines methods which are triggered by interactions with the IoTHub.
- SERVICEBOUND_MESSAGE_MAX_SIZE_BYTES - Static variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage
-
- SET_CERTIFICATE_PATH - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
- SET_MINIMUM_POLLING_INTERVAL - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
- SET_SAS_TOKEN_EXPIRY_TIME - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
- setCorrelationId(String) - Method in class com.microsoft.azure.sdk.iot.device.Message
-
Setter for the correlationId property
- setDelivery(Delivery) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsMessage
-
Sets this AmqpsMessage Delivery Object
- setExpiryTime(long) - Method in class com.microsoft.azure.sdk.iot.device.Message
-
Setter for the expiryTime property
- setHeaderField(String, String) - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsRequest
-
Sets the header field to the given value.
- setMessageCallback(MessageCallback, Object) - Method in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
Sets the message callback.
- setMessageCallback(MessageCallback, Object) - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Setter for the message callback.
- setMessageId(String) - Method in class com.microsoft.azure.sdk.iot.device.Message
-
Setter for the messageId property
- setOption(String, Object) - Method in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
Sets a runtime option identified by parameter optionName
to value.
- setPathToCert(String) - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Setter for the providing trusted certificate.
- setProperty(String, String) - Method in class com.microsoft.azure.sdk.iot.device.Message
-
Adds or sets user-defined properties of this Message.
- setReadTimeoutMillis(int) - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
-
Sets the read timeout in milliseconds.
- setReadTimeoutMillis(int) - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsRequest
-
Sets the read timeout, in milliseconds, for the request.
- setRequestHeader(String, String) - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
-
Sets the request header field to the given value.
- setRequestMethod(HttpsMethod) - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
-
Sets the request method (i.e.
- setTokenValidSecs(long) - Method in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
Setter for the number of seconds a SAS token should be valid for.
- SHARED_ACCESS_KEY_ATTRIBUTE - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
The shared access key attribute name in a connection string.
- SHARED_ACCESS_TOKEN_ATTRIBUTE - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
The shared access signature attribute name in a connection string.
- sharedAccessToken - Variable in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
-
- sig - Variable in class com.microsoft.azure.sdk.iot.device.auth.Signature
-
- signature - Variable in class com.microsoft.azure.sdk.iot.device.auth.IotHubSasToken
-
Components of the SAS token.
- Signature - Class in com.microsoft.azure.sdk.iot.device.auth
-
A signature that is used in the SAS token to authenticate the client.
- Signature(String, long, String) - Constructor for class com.microsoft.azure.sdk.iot.device.auth.Signature
-
Constructs a Signature instance from the given resource URI,
expiry time and device key.
- SIGNATURE_CHARSET - Static variable in class com.microsoft.azure.sdk.iot.device.auth.SignatureHelper
-
The charset used for the raw and hashed signature.
- SignatureHelper - Class in com.microsoft.azure.sdk.iot.device.auth
-
Builds the authorization signature as a composition of functions.
- SignatureHelper() - Constructor for class com.microsoft.azure.sdk.iot.device.auth.SignatureHelper
-
- state - Variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
-
- state - Variable in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
-
- state - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
-
- state - Variable in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttIotHubConnection
-
- state - Variable in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
-
- State - Enum in com.microsoft.azure.sdk.iot.device.transport
-
- status - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsResponse
-
- status - Variable in class com.microsoft.azure.sdk.iot.device.transport.IotHubCallbackPacket
-
- value - Variable in class com.microsoft.azure.sdk.iot.device.MessageProperty
-
The property value.
- valueOf(String) - Static method in enum com.microsoft.azure.sdk.iot.device.DeviceClient.IotHubClientState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.azure.sdk.iot.device.FeedbackStatusCodeEnum
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.azure.sdk.iot.device.IotHubClientProtocol
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.azure.sdk.iot.device.IotHubMessageResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.azure.sdk.iot.device.IotHubStatusCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsMessage.ACK_TYPE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.azure.sdk.iot.device.transport.https.HttpsMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport.HttpsTransportState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.azure.sdk.iot.device.transport.State
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.microsoft.azure.sdk.iot.device.DeviceClient.IotHubClientState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.microsoft.azure.sdk.iot.device.FeedbackStatusCodeEnum
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.microsoft.azure.sdk.iot.device.IotHubClientProtocol
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.microsoft.azure.sdk.iot.device.IotHubMessageResult
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.microsoft.azure.sdk.iot.device.IotHubStatusCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsMessage.ACK_TYPE
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.microsoft.azure.sdk.iot.device.transport.https.HttpsMethod
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport.HttpsTransportState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.microsoft.azure.sdk.iot.device.transport.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.