- 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 theConnectionStatusrelated to the given handle.booleanhasConnectionStatus(H aHandle) Determines whether the handle reference provides aConnectionStatusby implementing theConnectionStatusAccessorinterface.
-
Method Details
-
hasConnectionStatus
Determines whether the handle reference provides aConnectionStatusby implementing theConnectionStatusAccessorinterface.- 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 theConnectionStatusrelated to the given handle. Determines in whichConnectionStatusstatus a component related to the given handle is in.- Parameters:
aHandle- The handle for which to retrieve theConnectionStatus.- Returns:
- Returns the
ConnectionStatusrelated 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.
-