Interface LinkComponent

All Superinterfaces:
Closable, Openable
All Known Subinterfaces:
ComponentComposite, ComponentComposite.ExtendedComponentComposite<CTX,CON>, LinkComponent.LinkAutomaton, LinkComponent.LinkComponentBuilder<B>
All Known Implementing Classes:
AbstractComponentComposite, AbstractComponentComposite.ExtendedCompositeComponentImpl, AbstractDeviceAutomaton, LinkAutomatonImpl

public interface LinkComponent extends Openable, Closable
A component implementing the 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.