nsIStreamProviderProxy

IID:5c3b0bac-605a-49ac-880e-5c8b993f7d2b
Inherits From:nsIStreamProvider

A stream provider proxy is used to ship data over to another thread specified by the thread's event queue. The "true" stream provider's methods are invoked on the other thread.

This interface only provides the initialization needed after construction. Otherwise, these objects may be used as a nsIStreamProvider.


Methods

void init ( nsIStreamProvider provider , nsIEventQueue eventQ , PRUint32 bufferSegmentSize , PRUint32 bufferMaxSize )

void init ( nsIStreamProvider provider , nsIEventQueue eventQ , PRUint32 bufferSegmentSize , PRUint32 bufferMaxSize )

Initializes an nsIStreamProviderProxy.

Arguments:
provider: - receives provider notifications on the other thread.
eventQ: - may be NULL indicating the calling thread's event queue.
bufferSegmentSize
bufferMaxSize

Most XPCOM reference documentation is generated automatically from Mozilla source.
Other content is copyright © 1999 - 2003 XulPlanet.com