Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsStreamObserverProxy Class Reference

#include <nsStreamObserverProxy.h>

Inheritance diagram for nsStreamObserverProxy:
Inheritance graph
Collaboration diagram for nsStreamObserverProxy:
Collaboration graph

List of all members.

Public Member Functions

nsIEventQueueGetEventQueue ()
nsIStreamObserver * GetReceiver ()
nsresult SetEventQueue (nsIEventQueue *)
nsresult SetReceiver (nsIStreamObserver *aReceiver)

Detailed Description

Definition at line 77 of file nsStreamObserverProxy.h.

Member Function Documentation

Definition at line 60 of file nsStreamObserverProxy.h.

{ return mEventQ.get(); }

Here is the call graph for this function:

nsIStreamObserver* nsStreamProxyBase::GetReceiver ( ) [inline, inherited]

Definition at line 61 of file nsStreamObserverProxy.h.

{ return mReceiver.get(); }

Here is the call graph for this function:

Definition at line 255 of file nsStreamObserverProxy.cpp.

#if defined(PR_LOGGING)
    if (!gStreamProxyLog)
        gStreamProxyLog = PR_NewLogModule("nsStreamProxy");
    nsresult rv = NS_OK;
    if ((aEventQ == NS_CURRENT_EVENTQ) || (aEventQ == NS_UI_THREAD_EVENTQ)) {
        nsCOMPtr<nsIEventQueueService> serv =
                do_GetService(kEventQueueService, &rv);
        if (NS_FAILED(rv)) 
            return rv;
        rv = serv->GetSpecialEventQueue((PRInt32) aEventQ,
    } else
        mEventQ = aEventQ;
    return rv;

Here is the call graph for this function:

nsresult nsStreamProxyBase::SetReceiver ( nsIStreamObserver *  aReceiver) [inline, inherited]

Definition at line 65 of file nsStreamObserverProxy.h.

        PRBool same = ::SameCOMIdentity(aReceiver, this);
        NS_ASSERTION((!same), "aReceiver is self"); 
        mReceiver = aReceiver;
        return NS_OK;

Here is the call graph for this function:

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