intel / jndn-mock

Tools for testing NDN applications without network IO
GNU Lesser General Public License v3.0
0 stars 6 forks source link

Make MockFace operate as async Face #4

Open abrown opened 8 years ago

abrown commented 8 years ago

With jndn's https://github.com/named-data/jndn/blob/master/src/net/named_data/jndn/ThreadPoolFace.java, users no longer have to call processEvents() to trigger packet reads. This is a simpler interaction for users that MockFace could match. No thread pool is needed for MockFace (though one could be added to simulate delay).