CON
- The type of the connection to be used.public static interface ConnectionComponent.ConnectionAutomaton<CON> extends ConnectionComponent<CON>, ConnectionOpenable.ConnectionOpenAutomaton<CON>, Closable.CloseAutomaton, ConnectionStatusAccessor
ConnectionComponent.ConnectionAutomaton
interface supports
managing ConnectionComponent
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 ConnectionComponent.ConnectionAutomaton
may be used to wrap a
ConnectionComponent
by a HandleConnectableAutomaton
for
managing ConnectionComponent.ConnectionAutomaton
instances.
The ConnectionComponent
contains the business-logic where as the
HandleConnectableAutomaton
provides the frame for managing this
business-logic. The ConnectionComponent.ConnectionAutomaton
takes care of the correct
open/close-cycle applied on a ConnectionComponent
.ConnectionComponent.ConnectionAutomaton<CON>
ConnectionOpenable.ConnectionOpenAutomaton<CON>
OpenedAccessor.OpenedMutator, OpenedAccessor.OpenedProperty
Closable.CloseAutomaton
ClosedAccessor.ClosedMutator, ClosedAccessor.ClosedProperty
ConnectionStatusAccessor.ConnectionStatusMutator, ConnectionStatusAccessor.ConnectionStatusProperty
isOpenable
open
isOpened
isClosable
isClosed
getConnectionStatus
Copyright © 2015. All rights reserved.