Back to index

enigmail  1.4.3
Public Member Functions
nsIPipeTransportListener Interface Reference

nsIPipeTransportListener is a helper interface for nsIPipeTransport. More...

import "nsIPipeTransport.idl";

Inheritance diagram for nsIPipeTransportListener:
Inheritance graph
[legend]
Collaboration diagram for nsIPipeTransportListener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void startRequest ()
 Starts listener, and invokes OnStartRequest on listener, if any.
void stopRequest (in nsresult status)
 Stops listener.
long parseMimeHeaders (in string mimeHeaders, in unsigned long count)
 Calls channel to parse MIME headers, returning content length or -1 for unknown content length.

Detailed Description

nsIPipeTransportListener is a helper interface for nsIPipeTransport.

It is used to start and stop the listener stream of nsIPipeTransport.

Definition at line 255 of file nsIPipeTransport.idl.


Member Function Documentation

long nsIPipeTransportHeaders::parseMimeHeaders ( in string  mimeHeaders,
in unsigned long  count 
) [inherited]

Calls channel to parse MIME headers, returning content length or -1 for unknown content length.

If invalid MIME headers or no channel set, returns error.

Starts listener, and invokes OnStartRequest on listener, if any.

NOTE: Should not be called if blocked for synchronous read.

void nsIPipeTransportListener::stopRequest ( in nsresult  status)

Stops listener.


The documentation for this interface was generated from the following file: