OpenDDS  Snapshot(2023/04/28-20:55)
TransportStrategy.h
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
8 #ifndef OPENDDS_DCPS_TRANSPORT_FRAMEWORK_TRANSPORTSTRATEGY_H
9 #define OPENDDS_DCPS_TRANSPORT_FRAMEWORK_TRANSPORTSTRATEGY_H
10 
11 #include "dds/DCPS/dcps_export.h"
12 #include "dds/DCPS/RcObject.h"
13 #include "ace/Synch_Traits.h"
14 
16 
17 namespace OpenDDS {
18 namespace DCPS {
19 
20 /**
21  * This class is the interface through which DataLink uses
22  * TransportReceiveStrategy.
23  */
25  : public virtual RcObject {
26 public:
27 
28  virtual ~TransportStrategy();
29 
30  virtual int start() = 0;
31  virtual void stop() = 0;
32 };
33 
34 } // namespace DCPS */
35 } // namespace OpenDDS */
36 
38 
39 #endif /* OPENDDS_DCPS_TRANSPORTSTRATEGY */
#define OpenDDS_Dcps_Export
Definition: dcps_export.h:24
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28