Pipes etc.
Demetris G <[email protected]> Thu, 25 Aug 2005 10:13:30 -0400
| Newsgroups | gmane.comp.java.jxta.user,gmane.comp.java.jxta.devel |
|---|---|
| Message-ID | <430DD20A.1060401__33894.1397298642$1124979405$gmane$org@ece.neu.edu> |
From one of the JXTA documents/books they are showing how to create and
adv for
a pipe - which is straightforwad. I used that in parts of my
applications. Now that I am
debugging I am finding out that one of the threads responsible for
creating this pipe makes
the call to the first statement below and blocks ! Any reason why that
would be happening ?
Should I scratch this below and use a flat file with the adv in it and
simply load it ? Thanks much
PipeAdvertisement pipeAdv =
(PipeAdvertisement)AdvertisementFactory.newAdvertisement(PipeAd
vertisement.getAdvertisementType());
pipeAdv.setName("JXTA:KEYRECEIVE");
pipeAdv.setType("JxtaUnicast");
pipeAdv.setPipeID((ID)
net.jxta.id.IDFactory.newPipeID(netPeerGroup.getPeerGroupID()));