nsIStreamListenerProxy

IID:e400e688-6b54-4a84-8c4e-56b40281981a
Inherits From:nsIStreamListener

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.


Methods

void init ( nsIStreamListener listener , nsIEventQueue eventQ , PRUint32 bufferSegmentSize , PRUint32 bufferMaxSize )

void init ( nsIStreamListener listener , nsIEventQueue eventQ , PRUint32 bufferSegmentSize , PRUint32 bufferMaxSize )

Initializes an nsIStreamListenerProxy.

Arguments:
listener: receives listener notifications on the other thread
eventQ: may be NULL indicating the calling thread's event queue
bufferSegmentSize: passing zero indicates the default
bufferMaxSize: passing zero indicates the default

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com