[jdev] Re: bytestreams and Psi

Justin Karneges justin-keyword-jabber.093179 at affinix.com
Mon Nov 7 15:23:44 CST 2005


On Sunday 06 November 2005 03:10, Mats Bengtsson wrote:
> Right now I cannot judge if the 'fast' extension is the smartest one.
> The negotiation to avoid race conditions by sending an
> additional [CR] character across the bytestream to indicate its selection
> seems crude. My first impression tells me that host negotiation shall take
> place in the xml stream, but I might be missing something important here.

I suppose selection could have occured over Jabber also.  I think the reason I 
went with the [CR] is because that's how I did the selection back with DTCP 
(jep-46), and it didn't really occur to me to do it over Jabber.  However, 
sending one byte directly is probably more efficient than a routed <message> 
stanza, so I don't have a regret.

-Justin



More information about the JDev mailing list