Building PipeAdvertising

Java <[email protected]> Tue, 30 May 2006 11:11:24 +0200
Newsgroups gmane.comp.java.jxta.user
Message-ID <[email protected]>
hello,

i have this question: if I build a pipe advertisement using this code:

pipeAdv = (PipeAdvertisement)AdvertisementFactory.newAdvertisement(
                   PipeAdvertisement.getAdvertisementType());
pipeAdv.setPipeID(IDFactory.newPipeID(peerGroupName.getPeerGroupID()));
pipeAdv.setName(channelName);
pipeAdv.setType(PipeService.UnicastType);

so, taking  informations from the peer group, do I obtain the same 
pipeAdvertisement in every peer that runs this code?

Or in another way: is there any way to "build" the pipeAdvertisment for 
a group? So every peer can build its copy of the pipe for communicating 
with other peers.


regards
Segolas