public static interface DeviceComponent.DeviceAutomaton extends DeviceComponent, Openable.OpenAutomaton, Closable.CloseAutomaton, ConnectionStatusAccessor
DeviceComponent.DeviceAutomaton interface supports
managing DeviceComponent 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 DeviceComponent.DeviceAutomaton may be used to wrap a DeviceComponent
by a DeviceComponentHandle.DeviceAutomatonHandle for managing DeviceComponent.DeviceAutomaton
instances.
The DeviceComponent contains the business-logic where as the
DeviceComponentHandle.DeviceAutomatonHandle provides the frame for managing this
business-logic. The DeviceComponent.DeviceAutomaton takes care of the correct
open/close-cycle applied on a DeviceComponent.DeviceComponent.DeviceAutomatonOpenable.OpenAutomatonOpenedAccessor.OpenedMutator, OpenedAccessor.OpenedPropertyClosable.CloseAutomatonClosedAccessor.ClosedMutator, ClosedAccessor.ClosedPropertyConnectionStatusAccessor.ConnectionStatusMutator, ConnectionStatusAccessor.ConnectionStatusPropertyisOpenableisOpenedisClosableisClosedgetConnectionStatusCopyright © 2015. All rights reserved.