Re: how to learn the peerID that has published a PipeAdvertisement?
Mike Cumings <[email protected]> Tue, 6 Sep 2005 21:35:02 -0700
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
John, I dont know of any direct way to do this. Pipes themselves are coupled more tightly to the peer group than to any one particular peer. As a result, you could use the PipeID to work backwards to the PeerGroupID, but you wouldnt be able to get an ID of the peer. The discovery service only (sometimes) gives you the responding peer's advertisement, though since requests may be forwarded I dont think this can be used. From what I can tell, the shared resource distributed index (SRDI) data store does not store the publishing peer's info along with the resource being indexed - it only stores the data being indexed. Not 100% on this one though... Mike On 9/6/05, John D. Blair <[email protected]> wrote: > How can I determine the peerID of the peer that has published a > PipeAdvertisement? Further, can this information be learned for any > advertisement? > > thanks! > -john. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Mike Cumings