[suggestion] send queue and drop queue
Hi, send queueing and drop queueing are wide researched in DTNs.
IMO it would be helpful and promising, facilitate the development of new send and drop policies for ONE. I think the implementation would be similar to the implementation used in Reports. That is trough the use of reflections.
If you agree, I could dedicate myself to developing and the modifications could be released in a new major version.
Hi! This sounds like a nice new feature to me.
Hi, I am testing drop policies in the simulator. I created an interface called DropPolicy that implements the method makeRoomForNewMessage with the same signature of the same method in the ActiveRouter class. In the configuration I pass Group1.dropPolicyClass = FIFODropPolicy for example and the ActiveRouter instantiates a new object of this class and pass the calls to makeRoomForNewMessage to it. Maybe I can contribute with my code to the simulator, but I made other changes in the simulator, so I need to isolate this functionality. What do you think?
I developed the support for drop policies in the one. I created a pull request. Take a look at it, please.
Well, I was very busy and could not dedicate myself to this contribution. Sorry guys. Since @micdoug is working in something similar, maybe I can help him.
It would be awesome to have "pluggable policies". What do you think, @micdoug?