client | The Broker client whose event subscription is to be cancelled. |
sub | The structure representing the subscription the Broker client wishes to cancel. See
BrokerSubscription Objects for more information. |
Possible BrokerError major codes | Meaning |
AW_ERROR_INVALID_CLIENT | The client has been destroyed or disconnected. |
AW_ERROR_INVALID_SUBSCRIPTION | No matching subscription was found. |
AW_ERROR_NULL_PARAM | The sub parameter is NULL or the event_type_name it contains is NULL. |