TransportImpl.inl

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 "TransportInst.h"
00009 #include "TransportReactorTask.h"
00010 #include "DataLink_rch.h"
00011 #include "DataLink.h"
00012 #include "EntryExit.h"
00013 
00014 #include "ace/Reactor.h"
00015 
00016 ACE_INLINE OpenDDS::DCPS::TransportInst*
00017 OpenDDS::DCPS::TransportImpl::config() const
00018 {
00019   return this->config_.in();
00020 }
00021 
00022 ACE_INLINE OpenDDS::DCPS::TransportReactorTask*
00023 OpenDDS::DCPS::TransportImpl::reactor_task()
00024 {
00025   DBG_ENTRY_LVL("TransportImpl","reactor_task",6);
00026   TransportReactorTask_rch task = this->reactor_task_;
00027   return task._retn();
00028 }
00029 
00030 ACE_INLINE ACE_Reactor_Timer_Interface*
00031 OpenDDS::DCPS::TransportImpl::timer() const
00032 {
00033   return reactor();
00034 }
00035 
00036 ACE_INLINE ACE_Reactor*
00037 OpenDDS::DCPS::TransportImpl::reactor() const
00038 {
00039   TransportReactorTask_rch task = this->reactor_task_;
00040   return task.is_nil() ? 0 : task->get_reactor();
00041 }
00042 
00043 ACE_INLINE ACE_thread_t
00044 OpenDDS::DCPS::TransportImpl::reactor_owner() const
00045 {
00046   return this->reactor_task_->get_reactor_owner();
00047 }
00048 
00049 ACE_INLINE bool
00050 OpenDDS::DCPS::TransportImpl::connection_info
00051   (TransportLocator& local_info) const
00052 {
00053   return this->connection_info_i(local_info);
00054 }
00055 
00056 ACE_INLINE void
00057 OpenDDS::DCPS::TransportImpl::pre_shutdown_i()
00058 {
00059   //noop
00060 }

Generated on Fri Feb 12 20:05:28 2016 for OpenDDS by  doxygen 1.4.7