nsISyncStreamListener

IID:7e1aa658-6e3f-4521-9946-9685a169f764
Inherits From:nsIStreamListener

This interface is intended to be used as an instance. To create an object implementing this interface:

var obj = Components.classes["@mozilla.org/network/sync-stream-listener;1"].
            createInstance(Components.interfaces.nsISyncStreamListener);

This interface is implemented by the following components:


Properties

readonly nsIInputStream inputStream

Returns an input stream that when read will fetch data delivered to the sync stream listener. The nsIInputStream implementation will wait for OnDataAvailable events before returning from Read.

NOTE: Reading from the returned nsIInputStream may spin the current thread's event queue, which could result in any event being processed.

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com