It looks like that the func OnStatusChange not work real time.
I need to get a notify when the link disconnect or the data source status changed.
However i always get the notify when it recovery.
I add my func notify as follow.
void OnStatusChanged(EEikonStatus a_eStatus) {
if (a_eStatus != Connected)
Notify(...);
}