Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetCanSubscribeTypeDefs
 
awGetCanSubscribeTypeDefs
BrokerError awGetCanSubscribeTypeDefs(
BrokerClient client,
int *n,
BrokerTypeDef **defs);
client
The Broker client whose list of event type definitions is to be returned.
n
The number of event type definitions that were returned. This parameter is used for output.
def
The array of event type definition to which this Broker client can subscribe. This parameter is used for output.
Provides the definitions for the event types to which this Broker client can subscribe. These are also the event types that are permissible to be delivered to the client. The caller is responsible for calling free on the defs array, but not on the definitions themselves.
The events to which a client may subscribe is determined by the client group to which the Broker client belongs. For information on client groups, see Administering webMethods Broker.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_CLIENT
The client has been destroyed or disconnected.
AW_ERROR_NULL_PARAM
The parameter n or defs is NULL.
See also: