RendezVousService.propagate method

"Poole, Paul P1" <[email protected]> Thu, 08 Sep 2005 17:42:39 -0400
Newsgroups gmane.comp.java.jxta.user
Message-ID <[email protected]>
Hi all:

I am trying to use the RendezVousService.propagate(Enumeration
destPeerIds, Message msg, String serviceName, String serviceParam, int
ttl) method and I am very confused about what I should include for the
serviceName and the serviceParam.  I have looked through the book "JXTA"
by Brendon Wilson and it states that the serviceName for the reference
impl of Jxta is the Module Class ID for the service.  However, I am
confused about what service to use... I have tried using the Module
Class ID for the pipe service, but that did not work.  I am also having
a hard time understanding what to use for the serviceParam... I tried
using the PipeID (of my input pipe), but that also did not work.  In
both cases, I tried "toURI().toString()" and
"getUniqueValue().toString()"

Is there some way to determine these two parameters dynamically (if they
are something that changes from one impl to the next)?

Any insight as to how to correctly use this method would be greatly
appreciated!

Thank you,

Paul Poole 
Software Engineer 
Lockheed Martin