nsITransportEventSink

IID:561de8af-1b74-4cd4-8479-89447d48185c
Inherits From:nsISupports

Methods

void onTransportStatus ( nsITransport transport , nsresult status , PRUint32 progress , PRUint32 progressMax )

void onTransportStatus ( nsITransport transport , nsresult status , PRUint32 progress , PRUint32 progressMax )

Transport status notification.

Arguments:
transport: the transport sending this status notification.
status: the transport status (resolvable to a string using nsIErrorService). See nsISocketTransport for socket specific status codes and more comments.
progress: the amount of data either read or written depending on the value of the status code. this value is relative to progressMax.
progressMax: the maximum amount of data that will be read or written. if unknown, 0xFFFFFFFF will be passed.

References

This interface is passed as an argument to the following methods:

nsITransport.setEventSink

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com