Package org.refcodes.component
Interface OpenedHandle<H>
-
- Type Parameters:
H- The type of the handle.
- All Known Subinterfaces:
BidirectionalConnectionOpenableHandle.BidirectionalConnectionOpenAutomatonHandle<H,INPUT,OUTPUT>,ConnectionOpenableHandle.ConnectionOpenAutomatonHandle<H,CON>,OpenableHandle.OpenAutomatonHandle<H>
public interface OpenedHandle<H>Provides access to the opened (connected) handle reference.The handle reference requires the
OpenedAccessorinterface to be implemented.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisOpened(H aHandle)Determines whether the component (its connection) identified by the given handle is opened (connected).
-
-
-
Method Detail
-
isOpened
boolean isOpened(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
Determines whether the component (its connection) identified by the given handle is opened (connected).- Parameters:
aHandle- The handle identifying the component.- Returns:
- True in case of being opened, else false.
- Throws:
UnknownHandleRuntimeException- in case the given handle is unknown.UnsupportedHandleOperationRuntimeException- in case the reference of the handle does not support the requested operation.
-
-