
24 Apr
2014
24 Apr
'14
4:57 p.m.
Hi, I am trying to write an extension block processor. This block will log some information about where the node has been while the bundle was stored on the node. The problem I am running in to is that I want to update the contents of the block right before it is sent, but I'm not finding a good way to do that. Both getLength() and serialize() and the << operator are const.
I think DTN2 runs a "finalize" pass on all the blocks before they are finally generated. I would think something like that would be needed for the BSP blocks too, but I can't figure it out. Is there a "right" way to do this in ibrdtn?
Thanks, Brenton