Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetEventTypeDef
 
awGetEventTypeDef
BrokerError awGetEventTypeDef(
BrokerClient client,
char *event_type_name,
BrokerTypeDef *type_def);
client
The Broker client requesting the event type definition.
event_type_name
The name of the event type whose definition is desired.
type_def
The event type definition. This parameter is used for output.
Provides the definition of the specified event_type_name.
Note:
An event type definition will not be returned if your client is not permitted to browse that event type. In most cases, event types which can be browsed are those which your client can publish or for which it can register subscriptions.
The caller is not responsible for freeing the output value.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_CLIENT
The client has been destroyed or disconnected.
AW_ERROR_NO_PERMISSION
The client does not have permission to publish or subscribe to event_type_name.
AW_ERROR_NULL_PARAM
The event_type_def or type_def is NULL.
AW_ERROR_UNKNOWN_EVENT_TYPE
The event type does not exist on the Broker.
See also: