Package org.refcodes.component
Interface LinkComponentHandle<H>
-
- Type Parameters:
H
- The type of the handles.
- All Superinterfaces:
ClosableHandle<H>
,OpenableHandle<H>
- All Known Subinterfaces:
LinkComponentHandle.DeviceAutomatonHandle<H>
public interface LinkComponentHandle<H> extends OpenableHandle<H>, ClosableHandle<H>
TheLinkComponentHandle
manages variousConnectionStatus
states forLinkComponent
instances each related to a handle. Operations manipulating on theConnectionStatus
are invoked by thisLinkComponentHandle
with a handle identifying the according referencedComponent
.The
LinkComponent
contains the business-logic where as theLinkComponentHandle
provides the frame for managing this business-logic. TheLinkComponentHandle.DeviceAutomatonHandle
takes care of the correct open/close-cycle applied on aLinkComponent
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
LinkComponentHandle.DeviceAutomatonHandle<H>
TheLinkComponentHandle.DeviceAutomatonHandle
is an automaton managing variousConnectionStatus
states forComponent
instances each related to a handle.-
Nested classes/interfaces inherited from interface org.refcodes.component.ClosableHandle
ClosableHandle.CloseAutomatonHandle<H>
-
Nested classes/interfaces inherited from interface org.refcodes.component.OpenableHandle
OpenableHandle.OpenAutomatonHandle<H>
-
-
Method Summary
-
Methods inherited from interface org.refcodes.component.ClosableHandle
close, closeUnchecked, hasClosable
-
Methods inherited from interface org.refcodes.component.OpenableHandle
hasOpenable, open, openUnchecked
-
-