java.lang.Object
com.pi4j.crowpi.components.IrReceiverComponent.PollerManager
- All Implemented Interfaces:
Runnable
- Enclosing class:
- IrReceiverComponent
Poller manager class which implements
Runnable
and should be ran in a separate thread.
This poller manager will automatically launch a poller process and thread and monitors them.
In case either the poller process or thread dies, it will be automatically restarted.
This thread continues to run until the interrupted flag gets set.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected IrReceiverComponent.PollerProcess
Returns the current poller process managed by this poller manager or null if not running.void
run()