CON
- The type of the connection to be used.public interface ConnectionOpenable<CON>
Configurable
interface. To clarify the context regarding
connections, the ConnectionOpenable
interface has been introduced.
In case a no connection is to be provided to the open(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 |
ConnectionOpenable.ConnectionOpenAutomaton<CON>
The
ConnectionOpenable.ConnectionOpenAutomaton interface defines those methods
related to the opening of connection(s) life-cycle. |
Modifier and Type | Method and Description |
---|---|
void |
open(CON aConnection)
Opens the component with the given connection, the component opens a
connection with the given connection.
|
void open(CON aConnection) throws OpenException
aConnection
- The connection used for opening the connection.OpenException
- Thrown in case opening or accessing an open line
(connection, junction, link) caused problems.Copyright © 2016. All rights reserved.