IotHubReceiveTask Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. device. transport. IotHubReceiveTask
- com.
Implements
public final class IotHubReceiveTask
implements java.lang.Runnable
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() |
Methods inherited from java.lang.Object
Constructor Details
IotHubReceiveTask
public IotHubReceiveTask(IotHubTransport transport)
Parameters:
Method Details
run
public void run()