Uses of Interface
com.tccc.kos.core.service.hardware.IfaceAware.IfaceCallback
Packages that use IfaceAware.IfaceCallback
-
Uses of IfaceAware.IfaceCallback in com.tccc.kos.core.service.hardware
Methods in com.tccc.kos.core.service.hardware with parameters of type IfaceAware.IfaceCallbackModifier and TypeMethodDescriptiondefault voidIfaceAware.withIface(IfaceAware.IfaceCallback<T> callback) Run the specified code only if the iface is connected.default voidIfaceAware.withIface(IfaceAware.IfaceCallback<T> callback, Runnable orElse) Run the specified callback if the iface is connected, or else run the runnable if not connected.default ExceptionIfaceAware.withIfaceCatch(IfaceAware.IfaceCallback<T> callback) Run the specified code only if the iface is connected.default ExceptionIfaceAware.withIfaceCatch(IfaceAware.IfaceCallback<T> callback, IfaceAware.IfaceExceptionHandler handler) Run the specified callback if the iface is connected, or else run the specified runnable.default ExceptionIfaceAware.withIfaceCatch(IfaceAware.IfaceCallback<T> callback, Runnable orElse) Run the specified callback if the iface is connected.default ExceptionIfaceAware.withIfaceCatch(IfaceAware.IfaceCallback<T> callback, Runnable orElse, IfaceAware.IfaceExceptionHandler handler) Run the specified callback if the iface is connected, or else run the specified runnable.default voidIfaceAware.withIfaceOrThrow(IfaceAware.IfaceCallback<T> callback) Run the specified code only if the iface is connected.