Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetSubscriptions
 
awGetSubscriptions
BrokerError awGetSubscriptions(
BrokerClient client,
int *n,
BrokerSubscription **subs);
client
The Broker client whose subscriptions are to be obtained.
n
The number of subscription structures. This parameter is used for output.
subs
An array of subscription structures. This parameter is used for output. See BrokerSubscription Objects for more information.
Provides an array of subscription structures that represents the subscriptions of the specified client.
The caller is responsible for calling free on the subs output value. All values in subs share one memory block so multiple calls to free are not necessary.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_CLIENT
The client has been destroyed or disconnected.
AW_ERROR_NULL_PARAM
The n or subs parameter is NULL.
See also: