Defining a Connection Callback Object
Use the BrokerCPConnectionCallback interface to derive your own callback object. Your implementation must provide an implementation of the handleConnectionChange callback method. This method indicates the connection change activity within the Broker cluster publisher pool and can be used only for informational purposes apart from logging of the client pool changes.