TransportUtils Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. device. transport. TransportUtils
- com.
public class TransportUtils
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final java.lang.String | IOTHUB_API_VERSION |
| static final java.lang.String | USER_AGENT_STRING |
Constructor Summary
| Constructor | Description | |
|---|---|---|
| TransportUtils() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static void | throwTransportExceptionWithIotHubServiceType(Exception e, TransportException.IotHubService service) |
| static void | throwTransportExceptionWithIotHubServiceType(String message, TransportException.IotHubService service) |
Methods inherited from java.lang.Object
Field Details
IOTHUB_API_VERSION
public static final String IOTHUB_API_VERSION
USER_AGENT_STRING
public static final String USER_AGENT_STRING
Constructor Details
TransportUtils
public TransportUtils()
Method Details
throwTransportExceptionWithIotHubServiceType
public static void throwTransportExceptionWithIotHubServiceType(Exception e, TransportException.IotHubService service)
Parameters:
Throws:
throwTransportExceptionWithIotHubServiceType
public static void throwTransportExceptionWithIotHubServiceType(String message, TransportException.IotHubService service)
Parameters:
Throws: