T - the action result type@FunctionalInterface
public static interface GpioControl.GpioServiceAction<T>
| Modifier and Type | Method and Description |
|---|---|
T |
perform(GpioService gpio)
Perform the action.
|
T perform(GpioService gpio) throws java.io.IOException
gpio - the GPIO servicejava.io.IOException - if any communication error occurs