TransportUtils Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.device.transport.TransportUtils

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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

e
service

Throws:

throwTransportExceptionWithIotHubServiceType

public static void throwTransportExceptionWithIotHubServiceType(String message, TransportException.IotHubService service)

Parameters:

message
service

Throws:

Applies to