INPUT
- The type of the input connection to be used.OUTPUT
- The type of the output connection to be used.public interface BidirectionalConnectionComponent<INPUT,OUTPUT> extends BidirectionalConnectionOpenable<INPUT,OUTPUT>, Closable
BidirectionalConnectionComponent
interface supports
a connection. I.e. such a component may be instructed open or close a
connection:
"open" - "close"
In case no connection is to be provided to the #open(Object)
method
(as it may have been passed via the constructor), you may use the
LinkComponent
interface with its Openable.open()
method,
which does not require any arguments specifying a connection.
Modifier and Type | Interface and Description |
---|---|
static interface |
BidirectionalConnectionComponent.BidirectionalConnectionAutomaton<INPUT,OUTPUT>
A system implementing the
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. |
BidirectionalConnectionOpenable.BidirectionalConnectionOpenAutomaton<INPUT,OUTPUT>
Closable.CloseAutomaton, Closable.CloseBuilder<B extends Closable.CloseBuilder<B>>
open
close, closeIn, closeQuietly
Copyright © 2017. All rights reserved.