client | The Broker client whose ability to subscribe is to be tested. |
event_type_name | The event type name to which the Broker client wishes to subscribe. |
can_subscribe | An indication of whether or not the Broker client is permitted to subscribe to the specified event type. Set to 1 (true) if the Broker client is permitted; otherwise, set to 0 (false). This parameter is used for output. |
Possible BrokerError major codes | Meaning |
AW_ERROR_INVALID_CLIENT | The client has been destroyed or disconnected. |
AW_ERROR_NULL_PARAM | The parameter event_type_name or can_subscribe is NULL. |
AW_ERROR_UNKNOWN_EVENT_TYPE | The event type does not exist on the Broker. |