Public Member Functions | |
CancelCommand (RemoveAssociationSweeper< T > *sweeper, OpenDDS::DCPS::RcHandle< OpenDDS::DCPS::WriterInfo > &info) | |
virtual void | execute () |
Definition at line 72 of file RemoveAssociationSweeper.h.
OpenDDS::DCPS::RemoveAssociationSweeper< T >::CancelCommand::CancelCommand | ( | RemoveAssociationSweeper< T > * | sweeper, | |
OpenDDS::DCPS::RcHandle< OpenDDS::DCPS::WriterInfo > & | info | |||
) | [inline] |
Definition at line 74 of file RemoveAssociationSweeper.h.
00076 : CommandBase(sweeper, info) 00077 { }
void OpenDDS::DCPS::RemoveAssociationSweeper< T >::CancelCommand::execute | ( | ) | [virtual] |
Definition at line 151 of file RemoveAssociationSweeper.h.
References OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::RemoveAssociationSweeper< T >::CommandBase::info_, OpenDDS::DCPS::WriterInfo::NO_TIMER, and OpenDDS::DCPS::RemoveAssociationSweeper< T >::CommandBase::sweeper_.
00152 { 00153 if (this->info_->remove_association_timer_ != WriterInfo::NO_TIMER) { 00154 this->sweeper_->reactor()->cancel_timer(this->info_->remove_association_timer_); 00155 if (DCPS_debug_level) { 00156 ACE_DEBUG((LM_INFO, "(%P|%t) RemoveAssociationSweeper::CancelCommand::execute() - Unscheduled sweeper %d\n", this->info_->remove_association_timer_)); 00157 } 00158 this->info_->remove_association_timer_ = WriterInfo::NO_TIMER; 00159 this->info_->_remove_ref(); 00160 } 00161 }