JXME - how to address certain peers?
currently I have to write a JXME application (I`m completely new to JXTA). I have to implement a breath first search algorithm. This algorithm should run over several iterations. The request messages from the source peer should take the same way through the network every time. Therefore each peer has to maintain a list with all the PeerIDs to which peers he has forwarded the messages in the previous iteration to be able to address the same peers in the current iteration.
My question is if it is possible (and if yes how) to send messages to other peers by using the PeerIDs to address those peers?
Or do I have to use the PipeIDs instead? If yes my question would be if a certain PipeID corresponds to a certain peer for lifetime?
Another question is if it is possible to use the JXTA Shell as a relay peer to run my application.
Thanks a lot & best regards,