OpenDDS::DCPS::TcpAcceptor Class Reference

#include <TcpAcceptor.h>

Collaboration diagram for OpenDDS::DCPS::TcpAcceptor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TcpAcceptor (TcpTransport *transport_impl)
virtual ~TcpAcceptor ()
TcpTransporttransport ()
void transport_shutdown ()
TcpInstget_configuration ()

Private Attributes

TcpTransport_rch transport_

Detailed Description

Definition at line 21 of file TcpAcceptor.h.


Constructor & Destructor Documentation

OpenDDS::DCPS::TcpAcceptor::TcpAcceptor ( TcpTransport transport_impl  ) 

Definition at line 18 of file TcpAcceptor.cpp.

References DBG_ENTRY_LVL.

00019   : transport_(transport_impl, false)
00020 {
00021   DBG_ENTRY_LVL("TcpAcceptor","TcpAcceptor",6);
00022 }

OpenDDS::DCPS::TcpAcceptor::~TcpAcceptor (  )  [virtual]

Definition at line 24 of file TcpAcceptor.cpp.

References DBG_ENTRY_LVL.

00025 {
00026   DBG_ENTRY_LVL("TcpAcceptor","~TcpAcceptor",6);
00027 }


Member Function Documentation

OpenDDS::DCPS::TcpInst * OpenDDS::DCPS::TcpAcceptor::get_configuration (  ) 

Definition at line 30 of file TcpAcceptor.cpp.

References transport_.

Referenced by OpenDDS::DCPS::TcpConnection::open().

00031 {
00032   return this->transport_->get_configuration();
00033 }

OpenDDS::DCPS::TcpTransport * OpenDDS::DCPS::TcpAcceptor::transport (  ) 

Definition at line 36 of file TcpAcceptor.cpp.

References OpenDDS::DCPS::RcHandle< T >::_retn(), DBG_ENTRY_LVL, and transport_.

Referenced by OpenDDS::DCPS::TcpConnection::open().

00037 {
00038   DBG_ENTRY_LVL("TcpAcceptor","transport",6);
00039   // Return a new reference to the caller (the caller is responsible for
00040   // the reference).
00041   TcpTransport_rch tmp = this->transport_;
00042   return tmp._retn();
00043 }

void OpenDDS::DCPS::TcpAcceptor::transport_shutdown (  ) 

Definition at line 46 of file TcpAcceptor.cpp.

References DBG_ENTRY_LVL, and transport_.

Referenced by OpenDDS::DCPS::TcpTransport::shutdown_i().

00047 {
00048   DBG_ENTRY_LVL("TcpAcceptor","transport_shutdown",6);
00049 
00050   // Drop the reference to the TcpTransport object.
00051   this->transport_ = 0;
00052 }


Member Data Documentation

TcpTransport_rch OpenDDS::DCPS::TcpAcceptor::transport_ [private]

Definition at line 39 of file TcpAcceptor.h.

Referenced by get_configuration(), transport(), and transport_shutdown().


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