00001
00002
00003
00004
00005
00006
00007
00008 #ifndef OPENDDS_DCPS_DATAWRITERCALLBACKS_H
00009 #define OPENDDS_DCPS_DATAWRITERCALLBACKS_H
00010
00011 #include "dds/DCPS/Definitions.h"
00012 #include "dds/DCPS/DiscoveryListener.h"
00013
00014 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00015 #pragma once
00016 #endif
00017
00018 namespace OpenDDS {
00019 namespace DCPS {
00020
00021
00022
00023
00024
00025
00026
00027 class DataWriterCallbacks {
00028 public:
00029
00030 DataWriterCallbacks() {}
00031
00032 virtual ~DataWriterCallbacks() {}
00033
00034 virtual void add_association(const RepoId& yourId,
00035 const ReaderAssociation& reader,
00036 bool active) = 0;
00037
00038 virtual void association_complete(const RepoId& remote_id) = 0;
00039
00040 virtual void remove_associations(const ReaderIdSeq& readers,
00041 CORBA::Boolean callback) = 0;
00042
00043 virtual void update_incompatible_qos(const IncompatibleQosStatus& status) = 0;
00044
00045 virtual void update_subscription_params(const RepoId& readerId,
00046 const DDS::StringSeq& exprParams) = 0;
00047
00048 virtual void inconsistent_topic() = 0;
00049
00050 virtual void register_for_reader(const RepoId& ,
00051 const RepoId& ,
00052 const RepoId& ,
00053 const TransportLocatorSeq& ,
00054 DiscoveryListener* ) { }
00055
00056 virtual void unregister_for_reader(const RepoId& ,
00057 const RepoId& ,
00058 const RepoId& ) { }
00059 };
00060
00061 }
00062 }
00063
00064 #endif