void Acceptor::on_delete_receiver (Receiver &rcvr) { ACE_Guard<ACE_Recursive_Thread_Mutex> locker (this->mutex_); this->sessions_--; this->total_snd_ += rcvr.get_total_snd (); this->total_rcv_ += rcvr.get_total_rcv (); this->total_w_ += rcvr.get_total_w (); this->total_r_ += rcvr.get_total_r (); if (rcvr.index_ < MAX_RECEIVERS && this->list_receivers_[rcvr.index_] == &rcvr) this->list_receivers_[rcvr.index_] = 0; ACE_TCHAR bufs [256]; ACE_TCHAR bufr [256]; ACE_OS::sprintf ( bufs , ACE_TEXT ("%ld(%ld)"), rcvr.get_total_snd (), rcvr.get_total_w () ); ACE_OS::sprintf ( bufr , ACE_TEXT ("%ld(%ld)"), rcvr.get_total_rcv (), rcvr.get_total_r ()); ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Receiver::~DTOR index=%d snd=%s rcv=%s sessions_=%d\n"), rcvr.index_, bufs, bufr, this->sessions_)); }