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