the-one icon indicating copy to clipboard operation
the-one copied to clipboard

[suggestion] send queue and drop queue

Open julianofischer opened this issue 9 years ago • 4 comments

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.

julianofischer avatar Mar 01 '16 19:03 julianofischer

Hi! This sounds like a nice new feature to me.

akeranen avatar Jun 13 '16 20:06 akeranen

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?

micdoug avatar Aug 17 '16 11:08 micdoug

I developed the support for drop policies in the one. I created a pull request. Take a look at it, please.

micdoug avatar Aug 19 '16 23:08 micdoug

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?

julianofischer avatar Dec 09 '16 04:12 julianofischer