Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awRegister | awRegisterClientConnectionCallback
BrokerError awRegisterClientConnectionCallback(
BrokerClient client,
BrokerConnectionCallback func,
void *client_data);
The client for whom the callback function is being registered.
The callback function will be invoked when this client is disconnected or reconnected. This may be set to NULL to remove a callback function previously registered for the client.
Data that is to be passed to the callback method. This may be set to null.
Registers a connection callback function func for the client that will be invoked if this client is disconnected or reconnect. If a callback function was already registered for this client, it will be replaced by the new callback function.
You may un-register a previously registered callback function by invoking this function with a null func parameter.