-
- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectionStatus
getConnectionStatus(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 Detail
-
hasConnectionStatus
boolean hasConnectionStatus(H aHandle) throws UnknownHandleRuntimeException
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
ConnectionStatus getConnectionStatus(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
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.
-
-