Skip navigation links
A B C D E F G H I J M N O P R S T U V W 

A

ABANDON_PATH_FORMAT - Static variable in class com.microsoft.azure.sdk.iot.device.net.IotHubAbandonUri
The path to be appended to an IoT Hub URI.
acknowledge(AmqpsMessage.ACK_TYPE) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsMessage
Sends acknowledgement of this message using the provided ACK_TYPE.
addJsonObjToArray(String, String) - Static method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage
Adds a JSON object to a JSON array.
addListener(ServerListener) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
Subscribe a listener to the list of listeners.
addMessage(Message, IotHubEventCallback, Object) - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsTransport
Adds a message to the transport queue.
addMessage(HttpsSingleMessage) - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage
Adds a message to the batch.
addMessage(Message, IotHubEventCallback, Object) - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
Adds a message to the transport queue.
addMessage(Message, IotHubEventCallback, Object) - Method in interface com.microsoft.azure.sdk.iot.device.transport.IotHubTransport
Adds a message to the transport queue.
addMessage(Message, IotHubEventCallback, Object) - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
Adds a message to the transport queue.
AmqpsIotHubConnection - Class in com.microsoft.azure.sdk.iot.device.transport.amqps
An AMQPS IotHub connection between a device and an IoTHub.
AmqpsIotHubConnection(DeviceClientConfig, Boolean) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection
Constructor to set up connection parameters using the DeviceClientConfig.
AmqpsMessage - Class in com.microsoft.azure.sdk.iot.device.transport.amqps
Extension of the QPID-Proton-J MessageImpl class which implements the Message interface.
AmqpsMessage() - Constructor for class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsMessage
 
AmqpsMessage.ACK_TYPE - Enum in com.microsoft.azure.sdk.iot.device.transport.amqps
 
AmqpsTransport - Class in com.microsoft.azure.sdk.iot.device.transport.amqps
An AMQPS transport.
AmqpsTransport(DeviceClientConfig, Boolean) - Constructor for class com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsTransport
Constructs an instance from the given DeviceClientConfig object.
API_VERSION - Static variable in class com.microsoft.azure.sdk.iot.device.net.IotHubUri
The API version will be passed as a param in the URI.
appendQueryParam(StringBuilder, String, String) - Static method in class com.microsoft.azure.sdk.iot.device.net.IotHubUri
URL-encodes the query param name and value using charset UTF-8 and appends them to the URI.

B

base64Encoded - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
 
BATCH_CHARSET - Static variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage
The charset used to encode IoT Hub messages.
batchBody - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage
The current batched message body.
body - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
The body.
body - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsResponse
 
body - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
 
buildRawSignature(String, long) - Static method in class com.microsoft.azure.sdk.iot.device.auth.SignatureHelper
Builds the raw signature.
buildSasToken() - Method in class com.microsoft.azure.sdk.iot.device.auth.IotHubSasToken
 

C

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.

D

decodeDeviceKeyBase64(String) - Static method in class com.microsoft.azure.sdk.iot.device.auth.SignatureHelper
Decodes the deviceKey using Base64.
DEFAULT_IOTHUB_MESSAGE_CHARSET - Static variable in class com.microsoft.azure.sdk.iot.device.Message
 
DEFAULT_MESSAGE_LOCK_TIMEOUT_SECS - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
The default value for messageLockTimeoutSecs.
DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
The default value for readTimeoutMillis.
DefaultCertificate - Class in com.microsoft.azure.sdk.iot.device
 
DefaultCertificate() - Constructor for class com.microsoft.azure.sdk.iot.device.DefaultCertificate
 
deliveryComplete(IMqttDeliveryToken) - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttIotHubConnection
 
DEVICE_ID_ATTRIBUTE - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
The device ID attribute name in a connection string.
DeviceClient - Class in com.microsoft.azure.sdk.iot.device
The public-facing API.
DeviceClient(String, IotHubClientProtocol) - Constructor for class com.microsoft.azure.sdk.iot.device.DeviceClient
Constructor that takes a connection string as an argument.
DeviceClient() - Constructor for class com.microsoft.azure.sdk.iot.device.DeviceClient
 
DeviceClient.IotHubClientState - Enum in com.microsoft.azure.sdk.iot.device
The state of the IoT Hub client's connection with the IoT Hub.
DeviceClientConfig - Class in com.microsoft.azure.sdk.iot.device
Configuration settings for an IoT Hub client.
DeviceClientConfig(String, String, String, String) - Constructor for class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
Constructor.
DeviceClientConfig() - Constructor for class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
 
deviceId - Variable in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
 
deviceKey - Variable in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
 

E

encodeSignatureBase64(byte[]) - Static method in class com.microsoft.azure.sdk.iot.device.auth.SignatureHelper
Encodes the signature using Base64 and then further encodes the resulting string using UTF-8 encoding.
encodeSignatureUtf8(byte[]) - Static method in class com.microsoft.azure.sdk.iot.device.auth.SignatureHelper
Encodes the signature using charset UTF-8.
encodeSignatureWebSafe(String) - Static method in class com.microsoft.azure.sdk.iot.device.auth.SignatureHelper
Safely escapes characters in the signature so that they can be transmitted over the internet.
encryptSignatureHmacSha256(byte[], byte[]) - Static method in class com.microsoft.azure.sdk.iot.device.auth.SignatureHelper
Encrypts the signature using HMAC-SHA256.
errorReason - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsResponse
 
EVENT_PATH - Static variable in class com.microsoft.azure.sdk.iot.device.net.IotHubEventUri
The path to be appended to an IoT Hub URI.
execute(IotHubStatusCode, Object) - Method in interface com.microsoft.azure.sdk.iot.device.IotHubEventCallback
Executes the callback.
execute(Message, Object) - Method in interface com.microsoft.azure.sdk.iot.device.MessageCallback
Executes the callback.
expiryTime - Variable in class com.microsoft.azure.sdk.iot.device.auth.IotHubSasToken
The time, as a UNIX timestamp, before which the token is valid.

F

FeedbackStatusCodeEnum - Enum in com.microsoft.azure.sdk.iot.device
 
flattenValuesList(List<String>) - Static method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsResponse
 

G

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.

H

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
A wrapper for the Java SE class HttpsURLConnection.
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
Constructs an instance from the given DeviceClientConfig object.
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
Constructs an instance from the given DeviceClientConfig object.
HttpsTransport.HttpsTransportState - Enum in com.microsoft.azure.sdk.iot.device.transport.https
The state of the HTTPS transport.

I

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.

J

javaDeviceClientIdentifier - Static variable in class com.microsoft.azure.sdk.iot.device.transport.TransportUtils
 

M

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
Constructs an instance from the given DeviceClientConfig object.
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
Constructs an instance from the given DeviceClientConfig object.
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.

N

name - Variable in class com.microsoft.azure.sdk.iot.device.MessageProperty
The property name.
notifyLock() - Method in class com.microsoft.azure.sdk.iot.device.ObjectLock
 
numMessages() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage
Returns the number of messages currently in the batch.
numMsgs - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage
The current number of messages in the batch.

O

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.

P

parseHttpsMessage(Message) - Static method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
Returns the HTTPS message represented by the service-bound message.
parseHttpsMessage(HttpsResponse) - Static method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
Returns the HTTPS message represented by the HTTPS response.
path - Variable in class com.microsoft.azure.sdk.iot.device.net.IotHubUri
 
PATH_FORMAT - Static variable in class com.microsoft.azure.sdk.iot.device.net.IotHubUri
The device ID and specific IoT Hub method path will be interpolated into the path.
pathToCertificate - Variable in class com.microsoft.azure.sdk.iot.device.DeviceClientConfig
 
properties - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
 

R

RAW_SIGNATURE_FORMAT - Static variable in class com.microsoft.azure.sdk.iot.device.auth.SignatureHelper
The device ID will be the prefix.
readError() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
Reads from the error stream and returns the error reason.
readInput() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
Reads from the input stream (response stream) and returns the response.
readInputStream(InputStream) - Static method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
Reads the input stream until the stream is empty.
RECEIVE_PERIOD_MILLIS - Variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
 
RECEIVE_PERIOD_MILLIS_AMQPS - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
The number of milliseconds the transport will wait between polling for messages.
RECEIVE_PERIOD_MILLIS_HTTPS - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
 
RECEIVE_PERIOD_MILLIS_MQTT - Static variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
 
receiveMessage() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsIotHubConnection
Receives a message, if one exists.
receiveMessage() - Method in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttIotHubConnection
Receives a message, if one exists.
REJECT_PATH_FORMAT - Static variable in class com.microsoft.azure.sdk.iot.device.net.IotHubRejectUri
The path to be appended to an IoT Hub URI.
REJECT_QUERY_PARAM - Static variable in class com.microsoft.azure.sdk.iot.device.net.IotHubRejectUri
The reject URI query parameter.
RESERVED_PROPERTY_NAMES - Static variable in class com.microsoft.azure.sdk.iot.device.MessageProperty
A set of reserved property names.
run() - Method in class com.microsoft.azure.sdk.iot.device.transport.amqps.IotHubReactor
 
run() - Method in class com.microsoft.azure.sdk.iot.device.transport.IotHubReceiveTask
 
run() - Method in class com.microsoft.azure.sdk.iot.device.transport.IotHubSendTask
 

S

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
 

T

taskScheduler - Variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
 
TOKEN_FORMAT - Static variable in class com.microsoft.azure.sdk.iot.device.auth.IotHubSasToken
The SAS token format.
toMessage() - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsSingleMessage
Returns the Iot Hub message represented by the HTTPS message.
toString() - Method in class com.microsoft.azure.sdk.iot.device.auth.IotHubSasToken
Returns the string representation of the SAS token.
toString() - Method in class com.microsoft.azure.sdk.iot.device.auth.Signature
Returns the string representation of the signature.
toString() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubAbandonUri
Returns the string representation of the IoT Hub abandon message URI.
toString() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubCompleteUri
Returns the string representation of the IoT Hub complete message URI.
toString() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubEventUri
Returns the string representation of the IoT Hub event URI.
toString() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri
Returns the string representation of the IoT Hub message URI.
toString() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubRejectUri
Returns the string representation of the IoT Hub reject message URI.
toString() - Method in class com.microsoft.azure.sdk.iot.device.net.IotHubUri
Returns the string representation of the IoT Hub URI.
transport - Variable in class com.microsoft.azure.sdk.iot.device.DeviceClient
 
transport - Variable in class com.microsoft.azure.sdk.iot.device.transport.IotHubReceiveTask
 
transport - Variable in class com.microsoft.azure.sdk.iot.device.transport.IotHubSendTask
 
TransportUtils - Class in com.microsoft.azure.sdk.iot.device.transport
 
TransportUtils() - Constructor for class com.microsoft.azure.sdk.iot.device.transport.TransportUtils
 

U

uri - Variable in class com.microsoft.azure.sdk.iot.device.net.IotHubAbandonUri
The underlying IoT Hub URI.
uri - Variable in class com.microsoft.azure.sdk.iot.device.net.IotHubCompleteUri
The underlying IoT Hub URI.
uri - Variable in class com.microsoft.azure.sdk.iot.device.net.IotHubEventUri
The underlying IoT Hub URI.
uri - Variable in class com.microsoft.azure.sdk.iot.device.net.IotHubMessageUri
The underlying IoT Hub URI.
uri - Variable in class com.microsoft.azure.sdk.iot.device.net.IotHubRejectUri
The underlying IoT Hub URI.
uri - Variable in class com.microsoft.azure.sdk.iot.device.net.IotHubUri
 
urlEncodePath(String) - Static method in class com.microsoft.azure.sdk.iot.device.net.IotHubUri
URL-encodes each subdirectory in the path.
usesValidChars(String) - Static method in class com.microsoft.azure.sdk.iot.device.MessageProperty
Returns true if the string only uses US-ASCII printable chars and does not contain: ()<>@,;:\"/[]?={} (space) (horizontal tab)

V

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.

W

waitingList - Variable in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransport
Messages waiting to be sent to an IoT Hub.
waitingList - Variable in class com.microsoft.azure.sdk.iot.device.transport.mqtt.MqttTransport
Messages waiting to be sent.
waitLock(long) - Method in class com.microsoft.azure.sdk.iot.device.ObjectLock
 
writeOutput(byte[]) - Method in class com.microsoft.azure.sdk.iot.device.transport.https.HttpsConnection
Saves the body to be sent with the request.
A B C D E F G H I J M N O P R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.