public final class IotHubMessageUri extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_PATH
The path to be appended to an IoT Hub URI.
|
protected IotHubUri |
uri
The underlying IoT Hub URI.
|
| Modifier | Constructor and Description |
|---|---|
protected |
IotHubMessageUri() |
|
IotHubMessageUri(String iotHubHostname,
String deviceId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHostname()
Returns the string representation of the IoT Hub hostname.
|
String |
getPath()
Returns the string representation of the IoT Hub path.
|
String |
toString()
Returns the string representation of the IoT Hub message URI.
|
public static final String MESSAGE_PATH
protected final IotHubUri uri
public IotHubMessageUri(String iotHubHostname, String deviceId)
iotHubHostname - the IoT Hub name.deviceId - the device ID.protected IotHubMessageUri()
public String toString()
public String getHostname()
public String getPath()
Copyright © 2017. All rights reserved.