#include <TcpSynchResource.h>
Inheritance diagram for OpenDDS::DCPS::TcpSynchResource:
Public Member Functions | |
TcpSynchResource (const TcpConnection_rch &connection, const int &max_output_pause_period_ms) | |
virtual | ~TcpSynchResource () |
virtual void | notify_lost_on_backpressure_timeout () |
Private Attributes | |
TcpConnection_rch | connection_ |
Definition at line 20 of file TcpSynchResource.h.
OpenDDS::DCPS::TcpSynchResource::TcpSynchResource | ( | const TcpConnection_rch & | connection, | |
const int & | max_output_pause_period_ms | |||
) |
Definition at line 13 of file TcpSynchResource.cpp.
References DBG_ENTRY_LVL, and OpenDDS::DCPS::ThreadSynchResource::timeout_.
00016 : ThreadSynchResource(connection->peer().get_handle()) 00017 , connection_(connection) 00018 { 00019 DBG_ENTRY_LVL("TcpSynchResource","TcpSynchResource",6); 00020 00021 if (max_output_pause_period_ms >= 0) { 00022 this->timeout_ = new ACE_Time_Value(max_output_pause_period_ms / 1000, 00023 max_output_pause_period_ms % 1000 * 1000); 00024 } 00025 }
OpenDDS::DCPS::TcpSynchResource::~TcpSynchResource | ( | ) | [virtual] |
Definition at line 27 of file TcpSynchResource.cpp.
References DBG_ENTRY_LVL.
00028 { 00029 DBG_ENTRY_LVL("TcpSynchResource","~TcpSynchResource",6); 00030 }
void OpenDDS::DCPS::TcpSynchResource::notify_lost_on_backpressure_timeout | ( | ) | [virtual] |
Implements OpenDDS::DCPS::ThreadSynchResource.
Definition at line 33 of file TcpSynchResource.cpp.
References connection_, and DBG_ENTRY_LVL.
00034 { 00035 DBG_ENTRY_LVL("TcpSynchResource","notify_lost_on_backpressure_timeout",6); 00036 00037 this->connection_->notify_lost_on_backpressure_timeout(); 00038 }
Definition at line 31 of file TcpSynchResource.h.
Referenced by notify_lost_on_backpressure_timeout().