Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetClientTerritoryName
 
awGetClientTerritoryName
BrokerError awGetClientTerritoryName(
BrokerClient client,
char **territory_name);
client
The Broker client whose Broker's territory name is to be returned.
territory_name
The area where the name is to be returned. This parameter is used for output.
Returns the territory name associated with the Broker to which the client is connected.
The caller is responsible for calling free on the returned value.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_CLIENT
The client is not valid.
AW_ERROR_NULL_PARAM
The parameter territory_name is NULL.
See also: