00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #ifndef OPENDDS_DCPS_TRANSPORTSTRATEGY 00009 #define OPENDDS_DCPS_TRANSPORTSTRATEGY 00010 00011 #include "dds/DCPS/dcps_export.h" 00012 #include "dds/DCPS/RcObject.h" 00013 #include "ace/Synch_Traits.h" 00014 00015 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 00016 00017 namespace OpenDDS { 00018 namespace DCPS { 00019 00020 /** 00021 * This class is the interface through which DataLink uses 00022 * TransportReceiveStrategy. 00023 */ 00024 class OpenDDS_Dcps_Export TransportStrategy 00025 : public virtual RcObject { 00026 public: 00027 00028 virtual ~TransportStrategy(); 00029 00030 virtual int start() = 0; 00031 virtual void stop() = 0; 00032 }; 00033 00034 } // namespace DCPS */ 00035 } // namespace OpenDDS */ 00036 00037 OPENDDS_END_VERSIONED_NAMESPACE_DECL 00038 00039 #endif /* OPENDDS_DCPS_TRANSPORTSTRATEGY */