SubscribeStateChange¶
-
ISubscription ITopController.SubscribeStateChange(TopControllerStateChangeHandler handler)¶
Registers a callback that is called when the top-controller state changes.
- Parameters
handler – Delegate to be invoked when the top-controller state changes.
- Returns
ISubscription – An ISubscription for the callback.
- Throws
CommunicationErrorException– Protocol error.ConnectionLostException– Connection to controller lost.RebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.IncompatibleException– Incompatible firmware version loaded.System.ObjectDisposedException– Object is disposed.
- Remarks
Execution does not require a subscription resource.