Interface LinkComponent.LinkAutomaton

All Superinterfaces:
Closable, Closable.CloseAutomaton, ClosedAccessor, ConnectionStatusAccessor, LinkComponent, Openable, Openable.OpenAutomaton, OpenedAccessor
All Known Implementing Classes:
AbstractDeviceAutomaton, LinkAutomatonImpl
Enclosing interface:
LinkComponent

public static interface LinkComponent.LinkAutomaton extends LinkComponent, Openable.OpenAutomaton, Closable.CloseAutomaton, ConnectionStatusAccessor
A system implementing the LinkComponent.LinkAutomaton interface supports managing LinkComponent 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. A LinkComponent.LinkAutomaton may be used to wrap a LinkComponent by a LinkComponentHandle.LinkAutomatonHandle for managing LinkComponent.LinkAutomaton instances. The LinkComponent contains the business-logic where as the LinkComponentHandle.LinkAutomatonHandle provides the frame for managing this business-logic. The LinkComponent.LinkAutomaton takes care of the correct open/close-cycle applied on a LinkComponent.