Package org.refcodes.component
Interface BidirectionalConnectionComponent.BidirectionalConnectionAutomaton<INPUT,OUTPUT>
-
- Type Parameters:
INPUT
- The type of the input connection to be used.OUTPUT
- The type of the output connection to be used.
- All Superinterfaces:
BidirectionalConnectionComponent<INPUT,OUTPUT>
,BidirectionalConnectionOpenable<INPUT,OUTPUT>
,BidirectionalConnectionOpenable.BidirectionalConnectionOpenAutomaton<INPUT,OUTPUT>
,Closable
,Closable.CloseAutomaton
,ClosedAccessor
,ConnectionStatusAccessor
,OpenedAccessor
- Enclosing interface:
- BidirectionalConnectionComponent<INPUT,OUTPUT>
public static interface BidirectionalConnectionComponent.BidirectionalConnectionAutomaton<INPUT,OUTPUT> extends BidirectionalConnectionComponent<INPUT,OUTPUT>, BidirectionalConnectionOpenable.BidirectionalConnectionOpenAutomaton<INPUT,OUTPUT>, Closable.CloseAutomaton, ConnectionStatusAccessor
A system implementing theBidirectionalConnectionComponent.BidirectionalConnectionAutomaton
interface supports managingBidirectionalConnectionComponent
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. ABidirectionalConnectionComponent.BidirectionalConnectionAutomaton
may be used to wrap aBidirectionalConnectionComponent
by aConnectionComponentHandle.ConnectionAutomatonHandle
for managingBidirectionalConnectionComponent.BidirectionalConnectionAutomaton
instances. TheBidirectionalConnectionComponent
contains the business-logic where as theConnectionComponentHandle.ConnectionAutomatonHandle
provides the frame for managing this business-logic. TheBidirectionalConnectionComponent.BidirectionalConnectionAutomaton
takes care of the correct open/close-cycle applied on aBidirectionalConnectionComponent
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.component.BidirectionalConnectionComponent
BidirectionalConnectionComponent.BidirectionalConnectionAutomaton<INPUT,OUTPUT>
-
Nested classes/interfaces inherited from interface org.refcodes.component.BidirectionalConnectionOpenable
BidirectionalConnectionOpenable.BidirectionalConnectionOpenAutomaton<INPUT,OUTPUT>
-
Nested classes/interfaces inherited from interface org.refcodes.component.Closable
Closable.CloseAutomaton, Closable.CloseBuilder<B extends Closable.CloseBuilder<B>>
-
Nested classes/interfaces inherited from interface org.refcodes.component.ClosedAccessor
ClosedAccessor.ClosedMutator, ClosedAccessor.ClosedProperty
-
Nested classes/interfaces inherited from interface org.refcodes.component.ConnectionStatusAccessor
ConnectionStatusAccessor.ConnectionStatusMutator, ConnectionStatusAccessor.ConnectionStatusProperty
-
Nested classes/interfaces inherited from interface org.refcodes.component.OpenedAccessor
OpenedAccessor.OpenedMutator, OpenedAccessor.OpenedProperty
-
-
Method Summary
-
Methods inherited from interface org.refcodes.component.BidirectionalConnectionOpenable
open
-
Methods inherited from interface org.refcodes.component.BidirectionalConnectionOpenable.BidirectionalConnectionOpenAutomaton
isOpenable
-
Methods inherited from interface org.refcodes.component.Closable
close, closeIn, closeQuietly, closeUnchecked
-
Methods inherited from interface org.refcodes.component.Closable.CloseAutomaton
isClosable
-
Methods inherited from interface org.refcodes.component.ClosedAccessor
isClosed
-
Methods inherited from interface org.refcodes.component.ConnectionStatusAccessor
getConnectionStatus, isConnectionOpened
-
Methods inherited from interface org.refcodes.component.OpenedAccessor
isOpened
-
-