SetKeepAliveSettings¶
-
virtual void ITopController::SetKeepAliveSettings(EEndpoint endpoint, const SKeepAliveSettings &settings) = 0¶
Sets the keep-alive settings for the specified endpoint(s) of the connection to the controller.
- Parameters
endpoint – Endpoint(s) of the connection for which to set the keep-alive settings.
settings – Keep-alive settings for the specified endpoint(s).
- Throws
CInvalidArgumentException– Unknown endpoint specified.CInvalidArgumentException– Invalid keep-alive setting specified, e.g. NaN.CUnsupportedException– Keep-alive settings are not configurable for sub-controllers.CUnsupportedException– One or more of the keep-alive settings are not configurable for the specified endpoint(s).CCommunicationErrorException– Protocol error.CConnectionLostException– Connection to controller lost.CRebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CIncompatibleException– Incompatible firmware version loaded.CObjectDestroyedException– Object is destroyed.