ReliableSessionFactory.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 "ReliableSessionFactory.h"
00009 #include "ReliableSession.h"
00010 
00011 namespace OpenDDS {
00012 namespace DCPS {
00013 
00014 int
00015 ReliableSessionFactory::requires_send_buffer() const
00016 {
00017   return 1; // require send buffer
00018 }
00019 
00020 MulticastSession*
00021 ReliableSessionFactory::create(ACE_Reactor* reactor,
00022                                ACE_thread_t owner,
00023                                MulticastDataLink* link,
00024                                MulticastPeer remote_peer)
00025 {
00026   ReliableSession* session;
00027   ACE_NEW_RETURN(session, ReliableSession(reactor, owner, link, remote_peer), 0);
00028   return session;
00029 }
00030 
00031 } // namespace DCPS
00032 } // namespace OpenDDS

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