A stream listener proxy is used to ship data over to another thread specified by the thread's event queue. The "true" stream listener's methods are invoked on the other thread. This interface only provides the initialization needed after construction. Otherwise, these objects are used as nsIStreamListener.
[scriptable, uuid(e400e688-6b54-4a84-8c4e-56b40281981a)]
Methods
Initializes an nsIStreamListenerProxy. @param aListener receives listener notifications on the other thread @param aEventQ may be NULL indicating the calling thread's event queue @param aBufferSegmentSize passing zero indicates the default @param aBufferMaxSize passing zero indicates the default
void
init(in nsIStreamListener aListener, in nsIEventQueue aEventQ, in unsigned long aBufferSegmentSize, in unsigned long aBufferMaxSize)