Jon Smirl wrote:

Thanks, but how is AsyncOutputStream implemented? Right now, I take an
nsITransport object and call openOutputStream - how do I get an
AsyncOutputStream instead?

Query instance, this is the input version....


Again, thanks, but it is time to come clean, I am a newbie and writing in JS not C++, as a result I can only comprehend a little of what this tells me. In JS would I do something like

outputstream = transport.openOutputStream(0,0,0);

outputStream = QueryInterface(Components.interfaces.nsIAsyncOutputStream);

and if so, does that turn my outputStream into the async version?
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to