OpenDDS::DCPS::TcpSynchResource Class Reference

#include <TcpSynchResource.h>

Inheritance diagram for OpenDDS::DCPS::TcpSynchResource:

Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::TcpSynchResource:

Collaboration graph
[legend]
List of all members.

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_

Detailed Description

Definition at line 20 of file TcpSynchResource.h.


Constructor & Destructor Documentation

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 }


Member Function Documentation

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 }


Member Data Documentation

TcpConnection_rch OpenDDS::DCPS::TcpSynchResource::connection_ [private]

Definition at line 31 of file TcpSynchResource.h.

Referenced by notify_lost_on_backpressure_timeout().


The documentation for this class was generated from the following files:
Generated on Fri Feb 12 20:06:39 2016 for OpenDDS by  doxygen 1.4.7