| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.service | |
| com.microsoft.azure.sdk.iot.service.auth | |
| com.microsoft.azure.sdk.iot.service.devicetwin |
| Modifier and Type | Field and Description |
|---|---|
protected IotHubConnectionString |
ServiceClient.iotHubConnectionString |
| Modifier and Type | Method and Description |
|---|---|
static IotHubConnectionString |
IotHubConnectionStringBuilder.createConnectionString(String connectionString)
Static constructor to create IotHubConnectionString deserialize the given string
|
static IotHubConnectionString |
IotHubConnectionStringBuilder.createConnectionString(String hostName,
AuthenticationMethod authenticationMethod)
Static constructor to create IotHubConnectionString from host name and authentication method
|
IotHubConnectionString |
ServiceAuthenticationWithSharedAccessPolicyToken.populate(IotHubConnectionString iotHubConnectionString)
Populate given IotHubConnectionString with proper
policy token authentication data
|
protected IotHubConnectionString |
ServiceAuthenticationWithSharedAccessPolicyKey.populate(IotHubConnectionString iotHubConnectionString)
Populate given IotHubConnectionString with proper
policy key authentication data
|
protected abstract IotHubConnectionString |
AuthenticationMethod.populate(IotHubConnectionString iotHubConnectionStringBuilder)
Abstract helper function to populate
IotHubConnectionString class with
proper authentication properties |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
IotHubConnectionStringBuilder.parse(String connectionString,
IotHubConnectionString iotHubConnectionString)
Deserialize connection string
|
protected static String |
IotHubConnectionStringBuilder.parseIotHubName(IotHubConnectionString iotHubConnectionString)
Parse the iot hub name part from the host name
|
IotHubConnectionString |
ServiceAuthenticationWithSharedAccessPolicyToken.populate(IotHubConnectionString iotHubConnectionString)
Populate given IotHubConnectionString with proper
policy token authentication data
|
protected IotHubConnectionString |
ServiceAuthenticationWithSharedAccessPolicyKey.populate(IotHubConnectionString iotHubConnectionString)
Populate given IotHubConnectionString with proper
policy key authentication data
|
protected abstract IotHubConnectionString |
AuthenticationMethod.populate(IotHubConnectionString iotHubConnectionStringBuilder)
Abstract helper function to populate
IotHubConnectionString class with
proper authentication properties |
protected static void |
IotHubConnectionStringBuilder.setAuthenticationMethod(AuthenticationMethod authenticationMethod,
IotHubConnectionString iotHubConnectionString)
Set authentication method to target IotHubConnectionString object
|
protected static void |
IotHubConnectionStringBuilder.setHostName(String hostName,
IotHubConnectionString iotHubConnectionString)
Set host name value to target IotHubConnectionString object
|
protected static void |
IotHubConnectionStringBuilder.validate(IotHubConnectionString iotHubConnectionString)
Validate IotHubConnectionString format
|
| Constructor and Description |
|---|
ServiceClient(IotHubConnectionString iotHubConnectionString,
IotHubServiceClientProtocol iotHubServiceClientProtocol)
Initialize AMQP sender using given connection string
|
| Constructor and Description |
|---|
IotHubServiceSasToken(IotHubConnectionString iotHubConnectionString)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpResponse |
DeviceOperations.request(IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod method,
byte[] payload,
String requestId,
long timeoutInMs)
Send a http request to the IoTHub using the Twin/Method standard, and return its response.
|
QueryResponse |
Query.sendQueryRequest(IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod method,
Long timeoutInMs)
Sends request for the query to the IotHub
|
| Constructor and Description |
|---|
QueryCollection(int pageSize,
QueryType requestQueryType,
IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod httpMethod,
long timeout)
Constructor for non-sql based queries
|
QueryCollection(String query,
int pageSize,
QueryType requestQueryType,
IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod httpMethod,
long timeout)
Constructor for sql based queries
|
Copyright © 2017. All rights reserved.