Unsubscribe¶
-
virtual void ISubscription::Unsubscribe() = 0¶
Unsubscribes the callback associated with this instance.
- Throws
CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.
- Remarks
It is guaranteed that the callback will not be executed anymore when this method returns. If the callback is being executed when calling this method, this method blocks until execution of the callback is finished. If this method is called when the callback is already unsubscribed the call has no effect.