Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetEventTypeInfosets
 
awGetEventTypeInfosets
BrokerError awGetEventTypeInfosets(
BrokerClient client,
char *event_type_name,
int *n,
char **infoset_names,
BrokerEvent **infosets);
client
The Broker client requesting the infosets.
event_type_name
The event type name whose infoset names are to be obtained.
n
Number of infoset names contained in infoset_names. If set to -1, all infosets will be obtained and this parameter will be changed to the number retrieved. This parameter is used for input and output.
infoset_names
An array containing the names of the infosets to be obtained.
infosets
An array containing the infosets as event type definitions. This parameter is used for output.
Provides the infosets that correspond to the specified infoset names. For each name in infoset_names, a corresponding infoset is returned in infosets. All infosets are returned as events, for convenience. If an infoset is undefined or not accessible, the corresponding element in infosets is set to NULL.
The caller is responsible for calling awDeleteEvent on each event in infosets, and then calling free on the array itself.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_CLIENT
The client has been disconnected or destroyed.
AW_ERROR_NULL_PARAM
The parameter event_type_names, n, infoset_names, or infosets is NULL.
See also: