- Type Parameters:
H
- the generic type
- All Known Subinterfaces:
ConnectionComponentHandle.ConnectionAutomatonHandle<H,
,CON> LinkComponentHandle.LinkAutomatonHandle<H>
public interface ConnectionStatusHandle<H>
The Interface ConnectionStatusHandle.
-
Method Summary
Modifier and TypeMethodDescriptiongetConnectionStatus
(H aHandle) Retrieves theConnectionStatus
related to the given handle.boolean
hasConnectionStatus
(H aHandle) Determines whether the handle reference provides aConnectionStatus
by implementing theConnectionStatusAccessor
interface.
-
Method Details
-
hasConnectionStatus
Determines whether the handle reference provides aConnectionStatus
by implementing theConnectionStatusAccessor
interface.- Parameters:
aHandle
- The handle to test whether the reference provides the according functionality.- Returns:
- True in case the reference provides the according functionality.
- Throws:
UnknownHandleRuntimeException
- in case the handle is unknown.
-
getConnectionStatus
Retrieves theConnectionStatus
related to the given handle. Determines in whichConnectionStatus
status a component related to the given handle is in.- Parameters:
aHandle
- The handle for which to retrieve theConnectionStatus
.- Returns:
- Returns the
ConnectionStatus
related to the given handle. - Throws:
UnknownHandleRuntimeException
- in case the given handle is unknown.UnsupportedHandleOperationRuntimeException
- in case the reference of the handle does not support the requested operation.
-