msecs | The number of milliseconds to wait for an event to process before timing out. If set to AW_INFINITE, this function will wait indefinitely. |
Possible BrokerError major codes | Meaning |
AW_ERROR_BAD_STATE | This function was called from a callback function. |
AW_ERROR_INTERRUPTED | The
awInterruptDispatch function was invoked. |
AW_ERROR_INVALID_CLIENT | The client has been destroyed or disconnected. |
AW_ERROR_OUT_OF_RANGE | The msecs parameter is less than -1. |
AW_ERROR_TIMEOUT | The msecs time-out interval expired before an event arrived. |