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