Back to index
This object observes status from a control connection. More...
|TransportEventForwarder (nsIProgressEventSink *aSink)|
|void||onTransportStatus (in nsITransport aTransport, in nsresult aStatus, in unsigned long long aProgress, in unsigned long long aProgressMax)|
|Transport status notification. |
|nsCOMPtr< nsIProgressEventSink >||mSink|
This object observes status from a control connection.
For control connections, we don't worry about reporting transfer progress.
The OnTransportStatus events are delivered to the main thread.
|void nsITransportEventSink::onTransportStatus||(||in nsITransport||aTransport,|
|in unsigned long long||aProgress,|
|in unsigned long long||aProgressMax|
Transport status notification.
|aTransport||the transport sending this status notification.|
|aStatus||the transport status (resolvable to a string using nsIErrorService). See nsISocketTransport for socket specific status codes and more comments.|
|aProgress||the amount of data either read or written depending on the value of the status code. this value is relative to aProgressMax.|
|aProgressMax||the maximum amount of data that will be read or written. if unknown, 0xFFFFFFFF will be passed.|