INPUT
- The type of the input connection to be used.OUTPUT
- The type of the output connection to be used.public interface InputOutputComponent<INPUT,OUTPUT> extends InputOutputOpenable<INPUT,OUTPUT>, Closable
InputOutputComponent
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
DeviceComponent
interface with its Openable.open()
method,
which does not require any arguments specifying a connection.Modifier and Type | Interface and Description |
---|---|
static interface |
InputOutputComponent.InputOutputAutomaton<INPUT,OUTPUT>
A system implementing the
InputOutputComponent.InputOutputAutomaton interface supports
managing InputOutputComponent 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. |
InputOutputOpenable.InputOutputOpenAutomaton<INPUT,OUTPUT>
Closable.CloseAutomaton
open
Copyright © 2015. All rights reserved.