dispose

8 posts / 0 new
Last post
Offline
Last seen: 2 months 3 weeks ago
Joined: 01/27/2014
Posts: 8
How can I get a reader event telling me that the writer unregisters an instance, after the writer has been temporarly not alive

Hello,

My scenario involve a datawriter and a datareader each one runs on its own host and exchanging topic instances through network.

I want the datareader side to be able to:
- Allocate resources (working processes for example) on creation of instances because the datawriter issues write keyed samples
- Free the resources on destruction of instances because the datawriter issues unregister or dispose (doesn't matter) of keyed samples, once they are created

Until now, no difficulty by reading status instances on the datareader side.

Organization:
4 posts / 0 new
Last post
rohitrx4's picture
Offline
Last seen: 6 hours 10 min ago
Joined: 02/15/2019
Posts: 7
How can I get a notification when my DataReader receives a ‘dispose’ sample with identity

Scenario:

I have UI application hosted on the remote machine. Server publishes data and UI Application(Remote) subscribe it continuously and populate data on UI.
If the server added a new record and published new data this data get subscribe through the UI application and populate on UI.

3 posts / 0 new
Last post
Offline
Last seen: 5 years 4 months ago
Joined: 06/25/2013
Posts: 5
AccessViolationException on program shutdown

Hello,

I'm encountering the following unhandled exception in nddsdotnet40.dll when my application shuts down:

System.AccessViolationException was unhandled
HResult=-2147467261
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=nddsdotnet40
StackTrace:
at DDS.WaitSet.!WaitSet()
at DDS.WaitSet.Dispose(Boolean )
at DDS.WaitSet.Finalize()
InnerException:

I've traced through all my Dispose() methods and it doesn't seem that anything is directly causing this exception.

Keywords:
2 posts / 0 new
Last post
asanchez's picture
Offline
Last seen: 1 week 6 days ago
Joined: 11/16/2011
Posts: 49
Unregistered instance not received

Hi all,

I have an application with one DataWriter and one DataReader that catches when an instance is unregistered. It does the following:

- on the publisher side: After all the work is done, the only DataWriter calls unregister_instance() and exits (thus the DataWriter is deleted).

3 posts / 0 new
Last post
Frank J. Crow's picture
Offline
Last seen: 7 years 7 months ago
Joined: 04/08/2011
Posts: 12
Disposing of Topic Instances

Is it possible to have an application that disposes of topic instances that it did not create?

 

Further, is it possible for an application to start up and dispose of topic instances that it has never seen?  (by key)

 

 

Organization:
Keywords:
Subscribe to RSS - dispose