IotHubReceiveTask Class
- java.
lang. Object - Runnable
- com.
microsoft. azure. sdk. iot. device. transport. IotHubReceiveTask
- com.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java