Package com.pi4j.io.gpio.trigger
Class GpioCallbackTrigger
- java.lang.Object
-
- com.pi4j.io.gpio.trigger.GpioTriggerBase
-
- com.pi4j.io.gpio.trigger.GpioCallbackTrigger
-
- All Implemented Interfaces:
GpioTrigger
public class GpioCallbackTrigger extends GpioTriggerBase
-
-
Constructor Summary
Constructors Constructor Description GpioCallbackTrigger(PinState[] states, Callable<Void> callback)
GpioCallbackTrigger(PinState state, Callable<Void> callback)
GpioCallbackTrigger(Callable<Void> callback)
GpioCallbackTrigger(List<PinState> states, Callable<Void> callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
invoke(GpioPin pin, PinState state)
-
Methods inherited from class com.pi4j.io.gpio.trigger.GpioTriggerBase
addPinState, addPinState, hasPinState
-
-
-
-
Method Detail
-
invoke
public void invoke(GpioPin pin, PinState state)
- Specified by:
invoke
in interfaceGpioTrigger
- Specified by:
invoke
in classGpioTriggerBase
-
-