Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetEventTypeNames
 
awGetEventTypeNames
BrokerError awGetEventTypeNames(
BrokerClient client,
int *n,
char ***event_type_names);
client
The Broker client requesting the event type names.
n
Number of event type names returned in names. This parameter is used for output.
event_type_names
The array of event type names. This parameter is used for output.
Provides the list of event type names defined in the Broker to which client is connected. The fully qualified names are returned as an array of strings in event_type_names.
Note:
Only the names of the event types which your client is permitted to browse are returned. In most cases, this corresponds to the set of event types which your client can publish or for which it can register subscriptions.
The caller is responsible for calling free on event_type_names. The strings in event_type_names 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 parameter n or event_type_names is NULL.
See also: