OpenDDS  Snapshot(2023/04/28-20:55)
TransportSendListener.cpp
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 #include "DCPS/DdsDcps_pch.h" //Only the _pch include should start with DCPS/
10 #include "TransportSendListener.h"
11 #include "EntryExit.h"
12 
14 
15 namespace OpenDDS {
16 namespace DCPS {
17 
19 {
20  DBG_ENTRY_LVL("TransportSendListener","TransportSendListener",6);
21 }
22 
24 {
25  DBG_ENTRY_LVL("TransportSendListener","~TransportSendListener",6);
26 }
27 
28 void
30 {
31  ACE_UNUSED_ARG(sample);
33  "(%P|%t) ERROR: Subclass should override if sending data samples.\n"));
34 }
35 
36 void
38  bool dropped_by_transport)
39 {
40  ACE_UNUSED_ARG(sample);
41  ACE_UNUSED_ARG(dropped_by_transport);
43  "(%P|%t) ERROR: Subclass should override if sending data samples.\n"));
44 }
45 
46 void
48 {
49  ACE_UNUSED_ARG(sample);
51  "(%P|%t) ERROR: Subclass should override if sending control samples.\n"));
52 }
53 
54 void
56  bool dropped_by_transport)
57 {
58  ACE_UNUSED_ARG(sample);
59  ACE_UNUSED_ARG(dropped_by_transport);
61  "(%P|%t) ERROR: Subclass should override if sending control samples.\n"));
62 }
63 
66  const DataSampleHeader&,
67  ACE_Message_Block*, void*)
68 {
69  return SEND_CONTROL_OK;
70 }
71 
72 void
74 {
75  qos_data.dw_qos = TheServiceParticipant->initial_DataWriterQos();
76  qos_data.pub_qos = TheServiceParticipant->initial_PublisherQos();
77  qos_data.topic_name = "";
78 }
79 
80 } }
81 
#define ACE_ERROR(X)
virtual void data_dropped(const DataSampleElement *sample, bool dropped_by_transport)
virtual void control_delivered(const Message_Block_Ptr &sample)
virtual void retrieve_inline_qos_data(InlineQosData &qos_data) const
#define DBG_ENTRY_LVL(CNAME, MNAME, DBG_LVL)
Definition: EntryExit.h:68
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
virtual void control_dropped(const Message_Block_Ptr &sample, bool dropped_by_transport)
#define TheServiceParticipant
LM_ERROR
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28
virtual void data_delivered(const DataSampleElement *sample)
SendControlStatus
Return code type for send_control() operations.
virtual SendControlStatus send_control_customized(const DataLinkSet_rch &links, const DataSampleHeader &header, ACE_Message_Block *msg, void *extra)