TransportStrategy.h

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 #ifndef OPENDDS_DCPS_TRANSPORTSTRATEGY
00009 #define OPENDDS_DCPS_TRANSPORTSTRATEGY
00010 
00011 #include "dds/DCPS/dcps_export.h"
00012 #include "dds/DCPS/RcObject_T.h"
00013 #include "ace/Synch_Traits.h"
00014 
00015 namespace OpenDDS {
00016 namespace DCPS {
00017 
00018 /**
00019  * This class is the interface through which DataLink uses
00020  * TransportReceiveStrategy.
00021  */
00022 class OpenDDS_Dcps_Export TransportStrategy
00023   : public RcObject<ACE_SYNCH_MUTEX> {
00024 public:
00025 
00026   virtual ~TransportStrategy();
00027 
00028   virtual int start() = 0;
00029   virtual void stop() = 0;
00030 };
00031 
00032 } // namespace DCPS */
00033 } // namespace OpenDDS */
00034 
00035 #endif /* OPENDDS_DCPS_TRANSPORTSTRATEGY */

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