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
|
ServiceClient(IotHubConnectionString iotHubConnectionString,
IotHubServiceClientProtocol iotHubServiceClientProtocol,
ServiceClientOptions options)
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,
int connectTimeout,
int readTimeout,
Proxy proxy)
Send a http request to the IoTHub using the Twin/Method standard, and return its response.
|
static HttpResponse |
DeviceOperations.request(IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod method,
byte[] payload,
String requestId,
long timeoutInMs)
Deprecated.
|
QueryResponse |
Query.sendQueryRequest(IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod method,
int httpConnectTimeout,
int httpReadTimeout,
Proxy proxy)
Sends request for the query to the IotHub.
|
QueryResponse |
Query.sendQueryRequest(IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod method,
Long timeoutInMs)
Deprecated.
|
Constructor and Description |
---|
QueryCollection(int pageSize,
QueryType requestQueryType,
IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod httpMethod,
int httpConnectTimeout,
int httpReadTimeout,
Proxy proxy)
Constructor for non-sql based queries.
|
QueryCollection(int pageSize,
QueryType requestQueryType,
IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod httpMethod,
long timeout)
|
QueryCollection(String query,
int pageSize,
QueryType requestQueryType,
IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod httpMethod,
int httpConnectTimeout,
int httpReadTimeout,
Proxy proxy)
Constructor for sql based queries
|
QueryCollection(String query,
int pageSize,
QueryType requestQueryType,
IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod httpMethod,
long timeout)
|
Copyright © 2020. All rights reserved.