client | The Broker client for which the callback is being registered. |
func | The callback function to be called to handle the event. See
Defining a Callback Function. |
client_data | A pointer to used-defined data that will passed to the callback function when it is invoked. |
Possible BrokerError major codes | Meaning |
AW_ERROR_INVALID_CLIENT | The client has been destroyed or disconnected. |
AW_ERROR_NULL_PARAM | The func is NULL. |