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 void
IfaceAware.withIface
(IfaceAware.IfaceCallback<T> callback) Run the specified code only if the iface is connected.default void
IfaceAware.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 Exception
IfaceAware.withIfaceCatch
(IfaceAware.IfaceCallback<T> callback) Run the specified code only if the iface is connected.default Exception
IfaceAware.withIfaceCatch
(IfaceAware.IfaceCallback<T> callback, IfaceAware.IfaceExceptionHandler handler) Run the specified callback if the iface is connected, or else run the specified runnable.default Exception
IfaceAware.withIfaceCatch
(IfaceAware.IfaceCallback<T> callback, Runnable orElse) Run the specified callback if the iface is connected.default Exception
IfaceAware.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 void
IfaceAware.withIfaceOrThrow
(IfaceAware.IfaceCallback<T> callback) Run the specified code only if the iface is connected.