Uses of Class
jpigpio.GPIOListener
| Package | Description |
|---|---|
| jpigpio | |
| jpigpio.packet |
-
Uses of GPIOListener in jpigpio
Methods in jpigpio with parameters of type GPIOListener Modifier and Type Method Description voidJPigpio. addCallback(GPIOListener listener)Calls a user supplied function (a callback) whenever the specified GPIO edge is detected.
The user supplied callback receives three parameters, the GPIO, the level, and the tick.
If a user callback is not specified a default tally callback is provided which simply counts edges.voidPigpio. addCallback(GPIOListener gpioListener)Not implementedvoidPigpioSocket. addCallback(GPIOListener gpioListener)voidJPigpio. removeCallback(GPIOListener listener)Remove callback listener object from notification thread.voidPigpio. removeCallback(GPIOListener cgpioListener)Not implementedvoidPigpioSocket. removeCallback(GPIOListener gpioListener) -
Uses of GPIOListener in jpigpio.packet
Subclasses of GPIOListener in jpigpio.packet Modifier and Type Class Description classNotificationListenerNotificationListener is object, which after being registered with NotificationRouter (see class PigpioSocket) receives notifications coming from Pigpiod.