event | The event to be converted to a binary array. |
data | The area where the binary data is to be written. This parameter is used for output. |
size | The size of the binary data array that is created. 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 exists is NULL. |