I'm having problems with getting members of the netPeerGroup. I have 3 peers:
peer1 --(http)--> rendezvous (peer 3) <--(http)-- peer 2
If peer1 or peer2 sends discovery request like this:
discovery.getRemoteAdvertisements(null, DiscoveryService.PEER, null, null, 10);
and reads advertisements from local cache then:
Enumeration ads = discovery.getLocalAdvertisements(DiscoveryService.PEER, null, null);
enumeration contains only 2 ads: request initiator peer (peer1 or peer2 respectively) and rendezvous peer.
Can anyone explain me why I can not discover 3 peers?
Thanks in advance.