client | The client that is associated with this event. This may be set to NULL. |
data | The binary data to use to create the event. |
size | The size of the data. |
event | The area were the created event is returned. This parameter is used for output. |
Possible BrokerError major codes | Meaning |
AW_ERROR_CORRUPT | The data parameter does not point to a valid event. |
AW_ERROR_INVALID_CLIENT | The client parameter is not NULL and has been destroyed or disconnected. |
AW_ERROR_NO_PERMISSION | The client does not have permission to publish or subscribe to event_type_name. |
AW_ERROR_NULL_PARAM | The event or data parameter is NULL. |
AW_ERROR_UNKNOWN_EVENT_TYPE | The event type does not exist on the Broker. |