public interface LinkComponent extends Openable, Closable
LinkComponent
interface supports
establishing a connection (not necessarily a network connection). I.e. such a
component may be instructed open or close a connection:
"open" - "close"
In case a connection is to be provided to the Openable.open()
method, you may
use the ConnectionComponent
interface with its
ConnectionOpenable.open(Object)
method, which provides an argument
specifying the connection to be passed to the Component
.
Modifier and Type | Interface and Description |
---|---|
static interface |
LinkComponent.LinkAutomaton
A system implementing the
LinkComponent.LinkAutomaton interface supports
managing LinkComponent 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. |
static interface |
LinkComponent.LinkComponentBuilder<B extends LinkComponent.LinkComponentBuilder<B>>
Similar to the
LinkComponent with additional according builder
methods. |
Openable.OpenAutomaton, Openable.OpenBuilder<B extends Openable.OpenBuilder<B>>
Closable.CloseAutomaton, Closable.CloseBuilder<B extends Closable.CloseBuilder<B>>
Copyright © 2017. All rights reserved.