| 2330 | } |
| 2331 | |
| 2332 | void |
| 2333 | DataReaderImpl::notify_subscription_reconnected(const WriterIdSeq& pubids) |
| 2334 | { |
| 2335 | DBG_ENTRY_LVL("DataReaderImpl","notify_subscription_reconnected",6); |
| 2336 | |
| 2337 | if (!this->is_bit_) { |
| 2338 | // Narrow to DDS::DCPS::DataReaderListener. If a DDS::DataReaderListener |
| 2339 | // is given to this DataReader then narrow() fails. |
| 2340 | DataReaderListener_var the_listener = get_ext_listener(); |
| 2341 | |
| 2342 | if (!CORBA::is_nil(the_listener.in())) { |
| 2343 | SubscriptionLostStatus status; |
| 2344 | |
| 2345 | // If it's reconnected then the reader should be in id_to_handle |
| 2346 | this->lookup_instance_handles(pubids, status.publication_handles); |
| 2347 | |
| 2348 | the_listener->on_subscription_reconnected(this, status); |
| 2349 | } |
| 2350 | } |
| 2351 | } |
| 2352 | |
| 2353 | void |
| 2354 | DataReaderImpl::notify_subscription_lost(const DDS::InstanceHandleSeq& handles) |
nothing calls this directly
no test coverage detected