Commit Graph
9 Commits
Author SHA1 Message Date
Junxiao Shi 98e29f4731 core: delete deprecated getGlobalScheduler() API
refs #1290

Change-Id: If994e3bd303f0788d8e945351c182bbd4ab5e0b2
2014-03-31 10:27:26 -07:00
Alexander Afanasyev eb3197fa35 all: Update code to compile with latest time-related changes in ndn-cpp-dev library
Change-Id: I7e859989c833001f49b286d4a9917f4dc740b4a4
2014-03-18 17:34:12 -07:00
Junxiao Shi d9ee45c952 tests: resetGlobalIoService for every test
All tests must use BaseFixture or a fixture derived from it to get this feature.

This commit also fixes a few warnings in tests/mgmt, and moves test cases into nfd::tests namespace.

refs #1290

Change-Id: I891441a5abce170e35648d463f7157b18429f79f
2014-02-27 19:36:19 -07:00
Junxiao Shi c041ca36ed core: global io_service and scheduler
Scheduler and time are imported from ndn-cpp-dev.
Forwarder is using the new scheduler API.
Face system is not transitioned yet.

refs #1290

Change-Id: I5679cb50bbf9890a105f663b038f13951403c2b6
2014-02-26 12:40:22 -07:00
Alexander Afanasyev c1e2ee07fa tests: Making Scheduler and TCP test cases more resilient to time
These two tests were frequently falsely failing on overloaded build bots

Change-Id: I4e6dc09a647317514a7318e09bb095c7d7e6045a
2014-02-25 17:05:45 -08:00
Alexander Afanasyev 94ceb12a4c core: Fixing scheduler, so it doesn't crash when an event is cancelled from the event invocation
Change-Id: I219df36a4ed19d75e97e676bedeba023fd53326e
2014-02-05 15:42:37 -08:00
Junxiao Shi 234a532c0a core: Scheduler::cancelEvent allows empty EventId
refs #1176

Change-Id: I80f10ed8026d64b46b4634ced9278f145f54c4a7
2014-01-30 22:40:48 -07:00
Alexander Afanasyev 18bbf81601 src: Changing namespace ndn to namespace nfd
Also, this commit imports used classes from ::ndn namespace (from
NDN-CPP library) directly to ::nfd namespace.

refs: #1163

Change-Id: I9cc9d72e00af495b4ed0c84e6d418a7c9ba986cb
2014-01-29 14:12:58 -08:00
Alexander Afanasyev 920af2f419 core: Basic implementation of Scheduler
refs #1119 (http://redmine.named-data.net/issues/1119)

Change-Id: I1783857452941794a2538534d3492d30ac58dd25
2014-01-26 13:44:17 -08:00