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.BidirectionalConnectionAutomatoninterface supports managingBidirectionalConnectionComponentinstances 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.BidirectionalConnectionAutomatonmay be used to wrap aBidirectionalConnectionComponentby aConnectionComponentHandle.ConnectionAutomatonHandlefor managingBidirectionalConnectionComponent.BidirectionalConnectionAutomatoninstances. TheBidirectionalConnectionComponentcontains the business-logic where as theConnectionComponentHandle.ConnectionAutomatonHandleprovides the frame for managing this business-logic. TheBidirectionalConnectionComponent.BidirectionalConnectionAutomatontakes 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
-
-