#include <DataWriterImpl.h>


Public Member Functions | |
| LivenessTimer (DataWriterImpl &writer) | |
| virtual int | handle_timeout (const ACE_Time_Value &tv, const void *arg) |
| Handle the assert liveliness timeout. | |
Private Attributes | |
| WeakRcHandle< DataWriterImpl > | writer_ |
Definition at line 694 of file DataWriterImpl.h.
| OpenDDS::DCPS::LivenessTimer::LivenessTimer | ( | DataWriterImpl & | writer | ) | [inline] |
Definition at line 697 of file DataWriterImpl.h.
00698 : writer_(writer) 00699 { 00700 }
| int OpenDDS::DCPS::LivenessTimer::handle_timeout | ( | const ACE_Time_Value & | tv, | |
| const void * | arg | |||
| ) | [virtual] |
Handle the assert liveliness timeout.
Reimplemented from ACE_Event_Handler.
Definition at line 2690 of file DataWriterImpl.cpp.
References ACE_Reactor::cancel_timer(), OpenDDS::DCPS::WeakRcHandle< T >::lock(), ACE_Event_Handler::reactor(), and writer_.
02692 { 02693 DataWriterImpl_rch writer = this->writer_.lock(); 02694 if (writer) { 02695 writer->handle_timeout(tv, arg); 02696 } 02697 else { 02698 this->reactor()->cancel_timer(this); 02699 } 02700 return 0; 02701 }

Definition at line 707 of file DataWriterImpl.h.
Referenced by handle_timeout().
1.6.1