Can a peer use a Relay for group communication and also be a Rendezvous?
It's been a while since I posted and I see the forum has gone quite silent, but here goes nothing:
This thread is related to an earlier one ( http://forums.java.net/jive/thread.jspa?messageID=339599#339599 ) where it was concluded that, in order to use a relay peer (if your ports are blocked), you have to set a relay seed but that is not enough. You must *also* set to not allow HTTPIncoming and TCPIncoming connections so that the relay peer does not try to contact you (you are unreachable from his point of view) and that you will poll the data from him (done by jxta automagically).
In this scenario, when you disable HTTPIncoming and TCPIncoming, you do so for your whole connection. There is no option to say, do these changes only for the an outside network, but not for an inside one.
A scenario would be the one when a peer becomes RDV or whishes to act as RDV for a group, but the peer is not connectible from the outside so it has to use a relay to communicatie with outside group members. In the same time, it wants to be a RDV because it wants to serve other peers inside his LAN, which are in the same (unreachable from the outside) situation as our peer is.
If our peer just disabled incoming connections, in order to use the relay and talk to outside peers, how will it be able to talk to his inside (LAN) peers that wish to use him as RDV/RELAY? The other peers don't know our peer's relay and they don't care. They only know our peer and we are in charge of connecting them.
Jxta supports this out of the box, as advertised, but in reality, can it really do that? Or every peer *needs* to know the "master" relay seeds and needs to use them? If this is the case(and so it may seem), it's not that nice.
Thank you for your attention and hope to see some nice answers from you guys.