00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #ifndef DCPS_RELIABLESESSIONFACTORY_H 00009 #define DCPS_RELIABLESESSIONFACTORY_H 00010 00011 #include "Multicast_Export.h" 00012 00013 #include "MulticastSessionFactory.h" 00014 00015 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00016 class ACE_Reactor; 00017 ACE_END_VERSIONED_NAMESPACE_DECL 00018 00019 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 00020 00021 namespace OpenDDS { 00022 namespace DCPS { 00023 00024 class OpenDDS_Multicast_Export ReliableSessionFactory 00025 : public MulticastSessionFactory { 00026 public: 00027 virtual int requires_send_buffer() const; 00028 00029 virtual MulticastSession_rch create(ACE_Reactor* reactor, 00030 ACE_thread_t owner, 00031 MulticastDataLink* link, 00032 MulticastPeer remote_peer); 00033 }; 00034 00035 } // namespace DCPS 00036 } // namespace OpenDDS 00037 00038 OPENDDS_END_VERSIONED_NAMESPACE_DECL 00039 00040 #endif /* DCPS_RELIABLESESSIONFACTORY_H */