OpenDDS  Snapshot(2023/04/28-20:55)
DataLinkCleanupTask.h
Go to the documentation of this file.
1 /*
2  * Distributed under the OpenDDS License.
3  * See: http://www.opendds.org/license.html
4  */
5 
6 #ifndef OPENDDS_DCPS_TRANSPORT_FRAMEWORK_DATALINKCLEANUPTASK_H
7 #define OPENDDS_DCPS_TRANSPORT_FRAMEWORK_DATALINKCLEANUPTASK_H
8 
9 #include "QueueTaskBase_T.h"
10 #include "DataLink.h"
11 #include "DataLink_rch.h"
12 
13 #ifndef ACE_LACKS_PRAGMA_ONCE
14 # pragma once
15 #endif
16 
18 
19 namespace OpenDDS {
20 namespace DCPS {
21 
22 class TransportImpl;
23 
24 /**
25  * @class DataLinkCleanupTask
26  *
27  * @brief Active Object responsible for cleaning up DataLink resources.
28  *
29  */
30 class OpenDDS_Dcps_Export DataLinkCleanupTask : public QueueTaskBase <DataLink_rch> {
31 public:
33 
34  virtual ~DataLinkCleanupTask();
35 
36  /// Handle reconnect requests.
37  virtual void execute(DataLink_rch& dl);
38 };
39 
40 } // namespace DCPS
41 } // namespace OpenDDS
42 
44 
45 #endif /* OPENDDS_DCPS_DATALINKCLEANUP_H */
A simple ACE task that manages a queue of request.
#define OpenDDS_Dcps_Export
Definition: dcps_export.h:24
Active Object responsible for cleaning up DataLink resources.
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28