nsIFileTransportService

IID:57211a60-8c45-11d3-93ac-00104ba0fd40
Inherits From:nsISupports

Attributes

readonly PRUint32 connectedTransportCount

A number of transports connected/opened

readonly PRUint32 inUseTransportCount

A number of transports with I/O operation currently in-progress

readonly PRUint32 totalTransportCount

Total number of transports currently alive


Methods

nsITransport createTransport ( nsIFile file , PRInt32 ioFlags , PRInt32 perm , PRBool closeStreamWhenDone ) nsITransport createTransportFromStream ( AUTF8String name , nsIInputStream fromStream , ACString contentType , ACString contentCharset , PRInt32 contentLength , PRBool closeStreamWhenDone ) nsITransport createTransportFromStreamIO ( nsIStreamIO io , PRBool closeStreamWhenDone ) void dispatchRequest ( nsIRunnable runnable ) void processPendingRequests ( ) void shutdown ( )

nsITransport createTransport ( nsIFile file , PRInt32 ioFlags , PRInt32 perm , PRBool closeStreamWhenDone )

Arguments:
file
ioFlags
perm
closeStreamWhenDone

nsITransport createTransportFromStream ( AUTF8String name , nsIInputStream fromStream , ACString contentType , ACString contentCharset , PRInt32 contentLength , PRBool closeStreamWhenDone )

Arguments:
name
fromStream
contentType
contentCharset
contentLength
closeStreamWhenDone

nsITransport createTransportFromStreamIO ( nsIStreamIO io , PRBool closeStreamWhenDone )

Arguments:
io
closeStreamWhenDone

void dispatchRequest ( nsIRunnable runnable )

Arguments:
runnable

void processPendingRequests ( )


void shutdown ( )


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