Hi,I am using the recording service library in my application, but it only a 'start' and a 'stop' funcation, when i use it as replay and convert, i can`t to kown when the replay or convert has been done, there is no much information about this, so i want some one to tell me, thanks very much.
Sorry to say that in the current versions of RTI Recording/Replay Service, there is no API to detect when the replay or conversion finishes.
Note both replay and conversion pretty much goes through the entire data record and then terminates when used as an API.
In our upcoming release in March/April, Connext DDS 6.1.0, there will be a callback that you can add when creating an instance of the service. The callback will be invoked by the service when it terminates.
There is a way that you can monitor the operation of the service using the periodic topic of the Remote Monitoring feature.
https://community.rti.com/static/documentation/connext-dds/6.0.1/doc/manuals/recording_service/replay/replay_monitoring.html
but to do this, your app will have to subscribe to the Periodic monitoring topic using DDS.
There is an example of using the Remote Admin tnterface here:
https://github.com/rticommunity/rticonnextdds-examples/tree/master/examples/recording_service/service_admin/cpp
Hi Howard, thank you for your response.
As you say, Can you tell me the details to do that using the monitor.
Sorry to say that I don't know of any example code other than the one I pointed to earlier...which only sends commands.
Probably easier to wait for our next release if you only want to know when the service finishes.