Reply To: Sending and receiving application messages through overlay (in this case Chord)

Home Forums PeerfactSim Forum Sending and receiving application messages through overlay (in this case Chord) Reply To: Sending and receiving application messages through overlay (in this case Chord)

#786

Philipp Giesen

Hey Matthias,

thanks for your quick answer. I now tried that approach and implemented the interface KBRListener as made by the FilesharingApplication within the class KBRHandler. If the node is responsible for the key the message shall be sent to, I call the deliver method and if it’s not I’m routing through the KBRNode.

The overlay used is still Chord only.

The routing seems to work, since the forward-method is called twice (at first and second hop), however, the message is not delivered to the receiver (the third hop) responsible for the key the message is sent to. The deliver-method is never called.

I’ve read the documentation but I’m unsure, why the delivery would not work. Do you have any quick suggestions what might be a problem?

Thanks in advance
Philipp