Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetSubscriptionIds
int * awGetSubscriptionIds(
BrokerEvent event,
int *n);
The event whose subscription identifier is to be checked.
Number of subscription structures. This parameter is used for output.
Returns the subscription identifiers associated with event. A non-NULL return value indicates there are one or more subscriptions that match the specified event. In this case, the function returns an array of n subscription IDs. See BrokerSubscription Objects for more information.
If the return value is NULL, the value of n indicates the reason:
*-1 indicates a the event was created locally.
*Zero indicates the event was delivered by Broker. Delivered events are not matched to subscriptions.
The caller is responsible for calling free on the returned array.
See also: