Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
nsPipeEvents Class Reference
Collaboration diagram for nsPipeEvents:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsPipeEvents ()
 ~nsPipeEvents ()
void NotifyInputReady (nsIAsyncInputStream *stream, nsIInputStreamCallback *callback)
void NotifyOutputReady (nsIAsyncOutputStream *stream, nsIOutputStreamCallback *callback)

Private Attributes

nsCOMPtr< nsIAsyncInputStreammInputStream
nsCOMPtr< nsIInputStreamCallbackmInputCallback
nsCOMPtr< nsIAsyncOutputStreammOutputStream
nsCOMPtr< nsIOutputStreamCallbackmOutputCallback

Detailed Description

Definition at line 72 of file nsPipe3.cpp.


Constructor & Destructor Documentation

Definition at line 75 of file nsPipe3.cpp.

{ }

Definition at line 579 of file nsPipe3.cpp.

{
    // dispatch any pending events

    if (mInputCallback) {
        mInputCallback->OnInputStreamReady(mInputStream);
        mInputCallback = 0;
        mInputStream = 0;
    }
    if (mOutputCallback) {
        mOutputCallback->OnOutputStreamReady(mOutputStream);
        mOutputCallback = 0;
        mOutputStream = 0;
    }
}

Member Function Documentation

Definition at line 78 of file nsPipe3.cpp.

    {
        NS_ASSERTION(!mInputCallback, "already have an input event");
        mInputStream = stream;
        mInputCallback = callback;
    }

Here is the caller graph for this function:

Definition at line 86 of file nsPipe3.cpp.

    {
        NS_ASSERTION(!mOutputCallback, "already have an output event");
        mOutputStream = stream;
        mOutputCallback = callback;
    }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 96 of file nsPipe3.cpp.

Definition at line 95 of file nsPipe3.cpp.

Definition at line 98 of file nsPipe3.cpp.

Definition at line 97 of file nsPipe3.cpp.


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