H - The type of the handle.INPUT - The type of the input connection to be used.OUTPUT - The type of the output connection to be used.BidirectionalConnectionOpenableHandle<H,INPUT,OUTPUT>, OpenedHandle<H>public static interface BidirectionalConnectionOpenableHandle.BidirectionalConnectionOpenAutomatonHandle<H,INPUT,OUTPUT> extends BidirectionalConnectionOpenableHandle<H,INPUT,OUTPUT>, OpenedHandle<H>
BidirectionalConnectionOpenableHandle.BidirectionalConnectionOpenAutomatonHandle interface defines
those methods related to the handle based open/connect life-cycle.
The handle reference requires the ConnectionOpenable.ConnectionOpenAutomaton
interface to be implemented.BidirectionalConnectionOpenableHandle.BidirectionalConnectionOpenAutomatonHandle<H,INPUT,OUTPUT>| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasBidirectionalConnectionOpenAutomaton(H aHandle) |
Determines whether the handle reference is configurable by
implementing the
ConnectionOpenable.ConnectionOpenAutomaton interface. |
boolean |
isOpenable(H aHandle,
INPUT aInputConnection,
OUTPUT aOutputConnection) |
Determines whether the component identified by the given handle may
get opened/connected.
|
hasBidirectionalConnectionOpenable, openisOpenedboolean hasBidirectionalConnectionOpenAutomaton(H aHandle) throws UnknownHandleRuntimeException
ConnectionOpenable.ConnectionOpenAutomaton interface.aHandle - The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException - in case the handle is unknown.boolean isOpenable(H aHandle, INPUT aInputConnection, OUTPUT aOutputConnection) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle - The handle identifying the component.aInputConnection - The input connection used for opening the
connection.aOutputConnection - The output connection used for opening the
connection.BidirectionalConnectionOpenableHandle.open(Object, Object, Object) is possible.UnknownHandleRuntimeException - in case the given handle is
unknown.UnsupportedHandleOperationRuntimeException - in case the
reference of the handle does not support the requested
operation.Copyright © 2018. All rights reserved.