public final class IotHubEventUri extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_PATH
The path to be appended to an IoT Hub URI.
|
protected IotHubUri |
uri
The underlying IoT Hub URI.
|
| Modifier | Constructor and Description |
|---|---|
protected |
IotHubEventUri() |
|
IotHubEventUri(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 event URI.
|
public static final String EVENT_PATH
protected final IotHubUri uri
public IotHubEventUri(String iotHubHostname, String deviceId)
iotHubHostname - the IoT Hub name.deviceId - the device ID.protected IotHubEventUri()
public String toString()
public String getHostname()
public String getPath()
Copyright © 2017. All rights reserved.