Thanks for the quick response, just as a follow up question:
Hello Carson.
Am 07.11.2011 16:25, schrieb Carson Dunbar:
> I'm fairly new to the IBR-DTN router and was working on creating myBrenton was right and welcome here. :-)
> own routing protocol for it. I had a couple of questions and Brenton
> Walker suggested that I post them here.
Each routing module has the ability to load bundle from the storage with
> 1. Is there a way to get a block from a received bundle and split it
> up into several smaller blocks that I can then make into new bundles
> with new EIDs?
getBundle() and create new bundles. To announce the new bundles you
should inject it like the local apps do this...
dtn::core::BundleGeneratedEvent::raise(bundle);
The bundle filter is just a filter for the database. If you query for
>
> 2. How does the bundle filter work? When we pull bundles out of it
> to transfer, are they removed from the database as well? I'm working
> on a data dissemination router and if there was a way to prevent that
> and maybe sequentially or randomly pull different data from the
> database as well, that would be useful.
some bundles they do not get removed. To get different bundles each time
you query, you should use a BundleList to select/reject offered bundles
in the shouldAdd() function.
Kind regards,
Johannes
--
Johannes Morgenroth Institut fuer Betriebssysteme und Rechnerverbund
Tel.: +49-531-391-3249 Muehlenpfordtstrasse 23
Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig