how to create an output without getting a pipeadvertisement
i'm developing a system based on jxta.
actually i've two clients, say A and B.
A creates an input and an output pipe and publishes the input pipe advertisement.
B initially creates its inputpipe and starts asking for A's adv.
when B receives A's adv, it creates an output pipe so he can communicate to A. As soon as the pipe is resolved, B sends to A its input pipe id/name.
A Gets B's input pipe values and builds a PipeAdvertisement through the AdvertisementFactory.
A now tries to create an output pipe to B, but it never gets resolved. WHY?
if i force A to request B's adv, everything goes well. obviously i've checked the values B sends to A.
It seems that A must receive at least one adv from B before being able to resolve B's pipe.
hope to be clear enough. thanks in advantage for any advice!
Message was edited by: luimen