Actions
Task #3137
closedping: Refactor code to allow integration with ndnSIM
Start date:
08/26/2015
Due date:
% Done:
100%
Estimated time:
Description
There are a few places that require small refactoring of client::Ping and server::PingServer:
- only owner of ping/server classes should manage async thread (no calls to
io_service.run/stop) - only owner of server should own KeyChain (this way ndnSIM can substitute KeyChain instance)
- ping/server classes should gracefully handle termination. Right now, both ping and server don't clean up states and simply rely on terminating of face operations and even using exit(1) in some cases. To run experimentation within ndnSIM, stopping has to be done in a graceful way, with properly cancelling all events and unregistering prefixes.
Files
Updated by Junxiao Shi about 10 years ago
- File 20150827192608.tgz 20150827192608.tgz added
Updated by Alex Afanasyev about 10 years ago
- File 20150827224855.tgz 20150827224855.tgz added
Integration tests are passing now.
Updated by Junxiao Shi about 10 years ago
- File 20150831095442.tgz 20150831095442.tgz added
Updated by Alex Afanasyev about 10 years ago
- File 20150831163044.tgz 20150831163044.tgz added
Integ for http://gerrit.named-data.net/#/c/2392/7 are passing.
Updated by Alex Afanasyev about 10 years ago
- Status changed from Code review to Closed
Actions