Call this function to register a connection closed callback.
int push_service_set_connection_close_callback(push_service_t *ps, push_connection_close_callback_t cb_func)
A pointer to the push_service_t structure whose connection close callback you want to set.
The callback that will be called when the connection to the PNS Agent is closed.
When the connection to the PNS Agent is lost, the application or service needs to re-establish the connection with the PNS Agent by calling push_service_get_fd() periodically until push_service_get_fd() returns a valid file descriptor.
Last modified: 2013-12-21