OpenDDS  Snapshot(2023/04/28-20:55)
DataWriterRemote.idl
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_INFOREPODISCOVERY_DATAWRITERREMOTE_IDL
9 #define OPENDDS_DCPS_INFOREPODISCOVERY_DATAWRITERREMOTE_IDL
10 
11 #include "dds/DdsDcpsInfoUtils.idl"
13 
14 module OpenDDS {
15  module DCPS {
16 
17  // This interface contains OpenDDS-specific operations
18  // related to a DDS::DataWriter servant.
19  // It is split out so the DDS::DataWriter interface can be local.
20  interface DataWriterRemote {
21 
22  // will tell transport and call on_publication_matched()
23  oneway void add_association(
24  in GUID_t yourId,
25  in ReaderAssociation reader,
26  in boolean active);
27 
28  // will tell transport that associations are going away
29  // The notify_lost flag true indicates the remove_association is invoked
30  // by the InfoRepo after it detected a lost reader. The InfoRepo detects
31  // the lost reader when the add_association/remove_association invocations
32  // on the reader object reference fail. The datawriter need notify the
33  // the DataWriterListener on_subscription_lost.
34  oneway void remove_associations(
35  in ReaderIdSeq readers,
36  in boolean notify_lost);
37 
38  // supporting DataWriterListener::on_offered_incompatible_qos()
39  // May get called even if add_associations() is not called.
40  oneway void update_incompatible_qos(
41  in IncompatibleQosStatus status);
42 
43  // This call is two-way because the InfoRepo will block the reader
44  // in CFT::set_expression_parameters() until each associated writer
45  // is notified synchronously by this call.
46  void update_subscription_params(
47  in GUID_t readerId,
48  in ::DDS::StringSeq exprParams);
49  };
50  }; // module DDS
51 }; // module OpenDDS
52 
53 #endif
sequence< GUID_t > ReaderIdSeq
sequence< string > StringSeq
Definition: StringSeq.idl:30
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28