Package org.refcodes.component
Interface LinkComponent.LinkAutomaton
-
- All Superinterfaces:
Closable
,Closable.CloseAutomaton
,ClosedAccessor
,ConnectionStatusAccessor
,LinkComponent
,Openable
,Openable.OpenAutomaton
,OpenedAccessor
- All Known Implementing Classes:
AbstractDeviceAutomaton
,DeviceAutomatonImpl
- Enclosing interface:
- LinkComponent
public static interface LinkComponent.LinkAutomaton extends LinkComponent, Openable.OpenAutomaton, Closable.CloseAutomaton, ConnectionStatusAccessor
A system implementing theLinkComponent.LinkAutomaton
interface supports managingLinkComponent
instances and takes care that the open/close statuses are invoked in the correct order by throwing according exceptions in case the open/close-cycle is invoked in the wrong order. ALinkComponent.LinkAutomaton
may be used to wrap aLinkComponent
by aLinkComponentHandle.DeviceAutomatonHandle
for managingLinkComponent.LinkAutomaton
instances. TheLinkComponent
contains the business-logic where as theLinkComponentHandle.DeviceAutomatonHandle
provides the frame for managing this business-logic. TheLinkComponent.LinkAutomaton
takes care of the correct open/close-cycle applied on aLinkComponent
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.component.Closable
Closable.CloseAutomaton, Closable.CloseBuilder<B extends Closable.CloseBuilder<B>>
-
Nested classes/interfaces inherited from interface org.refcodes.component.ClosedAccessor
ClosedAccessor.ClosedMutator, ClosedAccessor.ClosedProperty
-
Nested classes/interfaces inherited from interface org.refcodes.component.ConnectionStatusAccessor
ConnectionStatusAccessor.ConnectionStatusMutator, ConnectionStatusAccessor.ConnectionStatusProperty
-
Nested classes/interfaces inherited from interface org.refcodes.component.LinkComponent
LinkComponent.LinkAutomaton, LinkComponent.LinkComponentBuilder<B extends LinkComponent.LinkComponentBuilder<B>>
-
Nested classes/interfaces inherited from interface org.refcodes.component.Openable
Openable.OpenAutomaton, Openable.OpenBuilder<B extends Openable.OpenBuilder<B>>
-
Nested classes/interfaces inherited from interface org.refcodes.component.OpenedAccessor
OpenedAccessor.OpenedMutator, OpenedAccessor.OpenedProperty
-
-
Method Summary
-
Methods inherited from interface org.refcodes.component.Closable
close, closeIn, closeQuietly, closeUnchecked
-
Methods inherited from interface org.refcodes.component.Closable.CloseAutomaton
isClosable
-
Methods inherited from interface org.refcodes.component.ClosedAccessor
isClosed
-
Methods inherited from interface org.refcodes.component.ConnectionStatusAccessor
getConnectionStatus, isConnectionOpened
-
Methods inherited from interface org.refcodes.component.Openable
open, openUnchecked
-
Methods inherited from interface org.refcodes.component.Openable.OpenAutomaton
isOpenable
-
Methods inherited from interface org.refcodes.component.OpenedAccessor
isOpened
-
-