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);
    }
  }
}

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 ) ; } } }
notify api disconnection to client
