INPUT
- The type of the input connection to be used.OUTPUT
- The type of the output connection to be used.public interface BidirectionalConnectionOpenable<INPUT,OUTPUT>
Configurable
interface. To clarify the context regarding
connections, the BidirectionalConnectionOpenable
interface has been introduced.
In case a no connection is to be provided to the
open(Object, Object)
method (as it may have been passed via the
constructor), you may use the Openable
interface with its
Openable.open()
method, which does not require any arguments
specifying a connection.
Modifier and Type | Interface and Description |
---|---|
static interface |
BidirectionalConnectionOpenable.BidirectionalConnectionOpenAutomaton<INPUT,OUTPUT>
The
BidirectionalConnectionOpenable.BidirectionalConnectionOpenAutomaton interface defines those methods
related to the opening of connection(s) life-cycle. |
Modifier and Type | Method and Description |
---|---|
void |
open(INPUT aInputConnection,
OUTPUT aOutputConnection)
Opens the component with the given connection, the component opens a
connection with the given connection.
|
void open(INPUT aInputConnection, OUTPUT aOutputConnection) throws OpenException
aInputConnection
- The input connection used for opening the
connection.aOutputConnection
- The output connection used for opening the
connection.OpenException
- Thrown in case opening or accessing an open line
(connection, junction, link) caused problems.Copyright © 2017. All rights reserved.