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 OpenedAccessor interface to be implemented.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isOpened(H aHandle)
    Determines whether the component (its connection) identified by the given handle is opened (connected).
  • Method Details

    • isOpened

      boolean isOpened(H aHandle)
      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.