TcpAcceptor.cpp

Go to the documentation of this file.
00001 /*
00002  *
00003  *
00004  * Distributed under the OpenDDS License.
00005  * See: http://www.opendds.org/license.html
00006  */
00007 
00008 #include "Tcp_pch.h"
00009 #include "TcpAcceptor.h"
00010 #include "TcpTransport.h"
00011 #include "TcpSendStrategy.h"
00012 #include "TcpInst.h"
00013 #include "dds/DCPS/transport/framework/EntryExit.h"
00014 
00015 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
00016 
00017 // This can not be inlined since it needs to have the internals of the
00018 // TcpTransport available in order to call add_ref(), and that
00019 // gets a bit circular in the dependencies.  Oh well.
00020 OpenDDS::DCPS::TcpAcceptor::TcpAcceptor
00021 (TcpTransport* transport_impl)
00022   : transport_(transport_impl)
00023 {
00024   DBG_ENTRY_LVL("TcpAcceptor","TcpAcceptor",6);
00025 }
00026 
00027 OpenDDS::DCPS::TcpAcceptor::~TcpAcceptor()
00028 {
00029   DBG_ENTRY_LVL("TcpAcceptor","~TcpAcceptor",6);
00030 }
00031 
00032 OpenDDS::DCPS::TcpInst&
00033 OpenDDS::DCPS::TcpAcceptor::get_configuration()
00034 {
00035   return this->transport_->config();
00036 }
00037 
00038 OpenDDS::DCPS::TcpTransport*
00039 OpenDDS::DCPS::TcpAcceptor::transport()
00040 {
00041   DBG_ENTRY_LVL("TcpAcceptor","transport",6);
00042   return this->transport_;
00043 }
00044 
00045 void
00046 OpenDDS::DCPS::TcpAcceptor::transport_shutdown()
00047 {
00048   DBG_ENTRY_LVL("TcpAcceptor","transport_shutdown",6);
00049 
00050 }
00051 
00052 OPENDDS_END_VERSIONED_NAMESPACE_DECL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1