question: private void notifyDisconnection ( RcsServiceName service , ReasonCode error ) { if ( LogUtils . isActive ) { Log . w ( LOGTAG , service . name ( ) + " " + error ) ; } for ( ClientConnectionNotifier clientToNotify : mClientsToNotify . values ( ) ) { Set < RcsServiceName > monitoredServices = clientToNotify . getMonitoredServices ( ) ; if ( monitoredServices == null || monitoredServices . contains ( service ) ) { clientToNotify . notifyDisconnection ( error ) ; } } }
target:  Notify API disconnection to client