INPUT
- The type of the input connection to be used.OUTPUT
- The type of the output connection to be used.BidirectionalConnectionComponent<INPUT,OUTPUT>
, BidirectionalConnectionOpenable<INPUT,OUTPUT>
, BidirectionalConnectionOpenable.BidirectionalConnectionOpenAutomaton<INPUT,OUTPUT>
, Closable
, Closable.CloseAutomaton
, ClosedAccessor
, ConnectionStatusAccessor
, OpenedAccessor
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
ConnectionComponentHandle.ConnectionAutomatonHandle
for managing
BidirectionalConnectionComponent.BidirectionalConnectionAutomaton
instances.
The BidirectionalConnectionComponent
contains the business-logic
where as the ConnectionComponentHandle.ConnectionAutomatonHandle
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>
Closable.CloseAutomaton, Closable.CloseBuilder<B extends Closable.CloseBuilder<B>>
ClosedAccessor.ClosedMutator, ClosedAccessor.ClosedProperty
ConnectionStatusAccessor.ConnectionStatusMutator, ConnectionStatusAccessor.ConnectionStatusProperty
OpenedAccessor.OpenedMutator, OpenedAccessor.OpenedProperty
open
isOpenable
close, closeIn, closeQuietly, closeUnchecked
isClosable
isClosed
getConnectionStatus, isConnectionOpened
isOpened
Copyright © 2018. All rights reserved.