Closable
, Closable.CloseAutomaton
, ClosedAccessor
, ConnectionStatusAccessor
, LinkComponent
, Openable
, Openable.OpenAutomaton
, OpenedAccessor
AbstractDeviceAutomaton
, DeviceAutomatonImpl
public static interface LinkComponent.LinkAutomaton extends LinkComponent, Openable.OpenAutomaton, Closable.CloseAutomaton, ConnectionStatusAccessor
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.DeviceAutomatonHandle
for managing LinkComponent.LinkAutomaton
instances.
The LinkComponent
contains the business-logic where as the
LinkComponentHandle.DeviceAutomatonHandle
provides the frame for managing this
business-logic. The LinkComponent.LinkAutomaton
takes care of the correct
open/close-cycle applied on a LinkComponent
.Closable.CloseAutomaton, Closable.CloseBuilder<B extends Closable.CloseBuilder<B>>
ClosedAccessor.ClosedMutator, ClosedAccessor.ClosedProperty
ConnectionStatusAccessor.ConnectionStatusMutator, ConnectionStatusAccessor.ConnectionStatusProperty
LinkComponent.LinkAutomaton, LinkComponent.LinkComponentBuilder<B extends LinkComponent.LinkComponentBuilder<B>>
Openable.OpenAutomaton, Openable.OpenBuilder<B extends Openable.OpenBuilder<B>>
OpenedAccessor.OpenedMutator, OpenedAccessor.OpenedProperty
close, closeIn, closeQuietly, closeUnchecked
isClosable
isClosed
getConnectionStatus, isConnectionOpened
open, openUnchecked
isOpenable
isOpened
Copyright © 2018. All rights reserved.