IotHubReceiveTask Class

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

public class IotHubReceiveTask

Polls an IoT Hub for messages and invokes a callback if one is found. Meant to be used with an executor that continuously calls run().

Constructor Summary

Constructor Description
IotHubReceiveTask(IotHubTransport transport)

Method Summary

Modifier and Type Method and Description
void run()

Constructor Details

IotHubReceiveTask

public IotHubReceiveTask(IotHubTransport transport)

Parameters:

transport

Method Details

run

public void run()

Applies to