Interface IfaceAwareNode<T extends BinaryMsgIface>
- All Superinterfaces:
BinaryMsgIfaceListener<T>
,IfaceAware<T>
public interface IfaceAwareNode<T extends BinaryMsgIface>
extends IfaceAware<T>, BinaryMsgIfaceListener<T>
TODO
- Version:
- 2025-06-19
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tccc.kos.core.service.hardware.IfaceAware
IfaceAware.IfaceCallback<T>, IfaceAware.IfaceExceptionHandler
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
CallsonIfaceConnect()
to avoid name collisions when usingwithIface()
methods.default void
onDisconnect
(T iface) CallsonIfaceDisconnect()
void
Called once the associated iface is initialized and ready for use.void
Called when the associated iface is shutdown.Methods inherited from interface com.tccc.kos.core.service.hardware.IfaceAware
getIface, setIface, withIface, withIface, withIfaceCatch, withIfaceCatch, withIfaceCatch, withIfaceCatch, withIfaceOrThrow
-
Method Details
-
onIfaceConnect
Called once the associated iface is initialized and ready for use.- Throws:
Exception
-
onIfaceDisconnect
Called when the associated iface is shutdown.- Throws:
Exception
-
onConnect
CallsonIfaceConnect()
to avoid name collisions when usingwithIface()
methods.- Specified by:
onConnect
in interfaceBinaryMsgIfaceListener<T extends BinaryMsgIface>
- Throws:
Exception
-
onDisconnect
CallsonIfaceDisconnect()
- Specified by:
onDisconnect
in interfaceBinaryMsgIfaceListener<T extends BinaryMsgIface>
- Throws:
Exception
-