client | The Broker client requesting the subscription. |
sub_id | The subscription ID. |
event_type_name | The event type name for the subscription. |
filter | The event filter string. Set to NULL if event filtering is not desired. |
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 event_type_name is NULL. |
AW_ERROR_OUT_OF_RANGE | The sub_id parameter is less than zero. |
AW_ERROR_UNKNOWN_EVENT_TYPE | The event type does not exist on the Broker. |