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.DeviceAutomaton
Openable.OpenAutomaton
OpenedAccessor.OpenedMutator, OpenedAccessor.OpenedProperty
Closable.CloseAutomaton
ClosedAccessor.ClosedMutator, ClosedAccessor.ClosedProperty
ConnectionStatusAccessor.ConnectionStatusMutator, ConnectionStatusAccessor.ConnectionStatusProperty
isOpenable
isOpened
isClosable
isClosed
getConnectionStatus
Copyright © 2015. All rights reserved.