client | The Broker client requesting the subscription. |
sub | The subscription structure. 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 | The filter string contains a parse error. |
AW_ERROR_NO_PERMISSION | The client does not have permission to subscribe to the event type. |
AW_ERROR_NULL_PARAM | The sub parameter or the event type name it contains is NULL. |
AW_ERROR_OUT_OF_RANGE | The subscription identifier contained in sub is less than zero. |
AW_ERROR_UNKNOWN_EVENT_TYPE | The event type does not exist on the Broker. |