[ndnSIM] 回复: consumer app

Muhammad Hosain Abdollahi Sabet mhasabet at gmail.com
Tue Dec 20 21:49:10 PST 2016

It's mostly your call how to do it. As an example, take a look at


There is a OnData method that is called every time new Data arrives. You
may schedule your application sending next Interest there. As Alex pointed
out, you may update existing consumer apps(ConsumerCbr, ConsumerBatch, etc)
or write a new one familiar to existing ones but having your own OnData
method implemented, which behaves as you want. Indeed it should be simple.
Just take a look at existing apps. I'm sure you will find what you're
looking for.


On Mon, Dec 19, 2016 at 4:36 AM, 任沛 <renpei.bupt at qq.com> wrote:

> I am new to ndnSIM,how can i implement this scheme? I'm really appreciate
> if you can give me some tips!
> ------------------ 原始邮件 ------------------
> *发件人:* "Alex Afanasyev"<aa at cs.ucla.edu>;
> *发送时间:* 2016年12月19日(星期一) 上午6:26
> *收件人:* "任沛"<renpei.bupt at qq.com>;
> *抄送:* "ndnsim"<ndnsim at lists.cs.ucla.edu>;
> *主题:* Re: [ndnSIM] consumer app
> You either need to update existing consumer app or write a new one. Based
> on what you describing, it should be very simple to do.
> --
> Alex
> > On Dec 17, 2016, at 11:03 PM, 任沛 <renpei.bupt at qq.com> wrote:
> >
> > Hi,
> >   how can i realize a consumer APP that after client receive the data
> for the previous interest, than client can send the next interest to the
> net, rather than send interest depend on sending rate.
> >   i.e. after client send a interest, no matter how long client have to
> wait for the correspond data, it can not send next interest until receive
> the data.
> > thanks!
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161221/a2a2e71d/attachment.html>

More information about the ndnSIM mailing list