00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #include "ReliableSessionFactory.h" 00009 #include "ReliableSession.h" 00010 00011 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 00012 00013 namespace OpenDDS { 00014 namespace DCPS { 00015 00016 int 00017 ReliableSessionFactory::requires_send_buffer() const 00018 { 00019 return 1; // require send buffer 00020 } 00021 00022 MulticastSession_rch 00023 ReliableSessionFactory::create(ACE_Reactor* reactor, 00024 ACE_thread_t owner, 00025 MulticastDataLink* link, 00026 MulticastPeer remote_peer) 00027 { 00028 return make_rch<ReliableSession>(reactor, owner, link, remote_peer); 00029 } 00030 00031 } // namespace DCPS 00032 } // namespace OpenDDS 00033 00034 OPENDDS_END_VERSIONED_NAMESPACE_DECL