Hello Thomasz,
did you mentioned that you bundle will get forwarded several times? Do
you want to modified it on every forward?
If not and you want only to skip the last entry of the block, you can
modify its serialization as I told before to Brenton.
https://mail.ibr.cs.tu-bs.de/pipermail/ibr-dtn/2014-April/000771.html
Another approach would be to modify the bundle right before it is
serialized in every convergence layer. At the moment the centralized
method for that is missing, but I see the need for that.
Kind regards,
Johannes
Am 25.04.2014 21:24, schrieb Tomasz Kalbarczyk:
--> I have the following:
>
> - A bundle that has an extension block, which includes a list of entries.
>
> I need to process the bundle as follows:
>
> - Peek at the end of the list, and based on the value of a variable
> maintained in my RoutingExtension, pop off the end of the list, before
> forwarding the bundle.
>
> My question is, where is the appropriate place to modify this bundle
> (i.e., pop the end of the list) ?
>
> I currently peek at the list when a meta bundle is generated from the
> bundle.
>
> However, I'm unclear what the appropriate place is to modify the bundle,
> so that is only changed once prior to forwarding.
Johannes Morgenroth Institut fuer Betriebssysteme und Rechnerverbund
Tel.: +49-531-391-3249 Muehlenpfordtstrasse 23
Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig
--
!! This message is brought to you via the `ibr-dtn' mailing list.
!! Please do not reply to this message to unsubscribe. To unsubscribe or adjust
!! your settings, send a mail message to <ibr-dtn-request@ibr.cs.tu-bs.de>
!! or look at https://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.