Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetBrokerVersionNumber
 
awGetBrokerVersionNumber
BrokerError awGetBrokerVersionNumber(
BrokerClient client,
int *version);
client
The Broker client whose Broker version number is to be returned.
version
The version number, returned as one of the AW_VERSION_* values. This parameter is used for output.
Obtains the version number of the Broker to which this client is connected. If the Broker's version number is newer than the client's version, the client's version number is returned.
The caller is responsible for freeing the memory associated with the output value.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_CLIENT
The client is not valid.
AW_ERROR_NULL_PARAM
The parameter version is NULL.