Good night,
I've been browsing the ibr dtn source code in the project wiki and I've ran into the StorageSizeExeededException at the line 125 in the BundleStorage::allocSpace() method in the BundleStorage.cpp. Nevertheless, I could not find where this exception is treated. In fact, I am doing a work about the discard politic of DTN and I was trying to find this politic implementation in the ibr dtn. So, I supose I'll find that when meet the place of the source code where this exception is treated. If you could help me with that and tell me about this politic in the ibr dtn I would be very thankful.
Thanks in advance.
João Paulo de Freitas Ramirez
Hi.
The "StorageSizeExeededException" is thrown by the BundleStorage module in case of not enough available space to store the current bundle. So this exception is catched by code doing a store() on the storage.
The current policy in IBR-DTN is to drop all new incoming bundles if there is no more space left.
Kind regards, Johannes Morgenroth
-------- Weitergeleitete Nachricht -------- Von: João Paulo Ramirez ramirez.jpdf@gmail.com An: Ibr-dtn@ibr.cs.tu-bs.de Betreff: [ibr-dtn] Bundle's Discard Politic Datum: Thu, 22 Nov 2012 21:02:26 -0200
Good night,
I've been browsing the ibr dtn source code in the project wiki and I've ran into the StorageSizeExeededException at the line 125 in the BundleStorage::allocSpace() method in the BundleStorage.cpp. Nevertheless, I could not find where this exception is treated. In fact, I am doing a work about the discard politic of DTN and I was trying to find this politic implementation in the ibr dtn. So, I supose I'll find that when meet the place of the source code where this exception is treated. If you could help me with that and tell me about this politic in the ibr dtn I would be very thankful.
Thanks in advance.
João Paulo de Freitas Ramirez -- !! 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://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
participants (2)
-
Johannes Morgenroth
-
João Paulo Ramirez