CON
- The type of the connection to be used.public interface ConnectionComponent<CON> extends ConnectionOpenable<CON>, Closable
ConnectionComponent
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 ConnectionOpenable.open(Object)
method
(as it may have been passed via the constructor), you may use the
DeviceComponent
interface with its Openable.open()
method,
which does not require any arguments specifying a connection.
Modifier and Type | Interface and Description |
---|---|
static interface |
ConnectionComponent.ConnectionAutomaton<CON>
A system implementing the
ConnectionComponent.ConnectionAutomaton interface supports
managing ConnectionComponent 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. |
ConnectionOpenable.ConnectionOpenAutomaton<CON>
Closable.CloseAutomaton
open
Copyright © 2015. All rights reserved.