Specific Callback Functions
Depending on the complexity of your design, you may find that a single, general callback function is all that your client application requires. More complicated designs may need to make use of specific callback functions.
A
specific callback function is only invoked to process an event with a particular subscription identifier or event tag for a particular
Broker client. You may register a specific callback function by calling either the
awRegisterCallbackForSubId or
awRegisterCallbackForTag.
Event tag fields are part of the request-reply model, described in
Using Request-Reply.
Note:
If a received event matches the criteria for more than one callback, each callback function will be invoked to handle the event. The event will be automatically deleted after the last callback function returns.