commit | 88916c2247731501bde0fb552862886638c9e222 | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Mon Mar 12 22:10:41 2012 -0700 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Mon Mar 12 22:10:41 2012 -0700 |
tree | fc82d3dad8252b9021b9510d8d1df3786b241f91 | |
parent | d010e2c59137e85fad51f35030d517102770bfcf [diff] [blame] |
client code needs to call start() in order to start syncing
diff --git a/model/sync-logic.cc b/model/sync-logic.cc index c46dbe8..a7fc746 100644 --- a/model/sync-logic.cc +++ b/model/sync-logic.cc
@@ -49,6 +49,11 @@ m_ccnxHandle->setInterestFilter (syncPrefix, bind (&SyncLogic::respondSyncInterest, this, _1)); + +} + +void SyncLogic::start() +{ // We need to send out our Sync Interest when we're ready sendSyncInterest(); }