
org.refcodes.component.DeviceComponentHandle Maven / Gradle / Ivy
Show all versions of refcodes-component Show documentation
package org.refcodes.component;
/**
* The {@link DeviceComponentHandle} manages various {@link ConnectionStatus}
* states for {@link DeviceComponent} instances each related to a handle.
* Operations manipulating on the {@link ConnectionStatus} are invoked by this
* {@link DeviceComponentHandle} with a handle identifying the according
* referenced {@link Component}.
*
* The {@link DeviceComponent} contains the business-logic where as the
* {@link DeviceComponentHandle} provides the frame for managing this
* business-logic. The {@link DeviceAutomatonHandle} takes care of the correct
* open/close-cycle applied on a {@link DeviceComponent}.
*
* @param The type of the handles.
*/
public interface DeviceComponentHandle extends OpenableHandle, ClosableHandle {
/**
* The {@link DeviceAutomatonHandle} is an automaton managing various
* {@link ConnectionStatus} states for {@link Component} instances each
* related to a handle. Operations manipulating on the
* {@link ConnectionStatus} are invoked by this
* {@link DeviceAutomatonHandle} with a handle identifying the according
* referenced {@link Component}.
*
* The {@link DeviceComponent} contains the business-logic where as the
* {@link DeviceAutomatonHandle} provides the frame for managing this
* business-logic. The {@link DeviceAutomatonHandle} takes care of the
* correct life-cycle applied on a {@link DeviceComponent}.
*/
public interface DeviceAutomatonHandle extends DeviceComponentHandle, OpenableHandle, ClosableHandle, ConnectionStatusHandle {}
}