Back to index

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

List of all members.

Public Member Functions

 nsConnEvent (nsHttpConnectionMgr *mgr, nsConnEventHandler handler, PRInt32 iparam, void *vparam)
 PR_STATIC_CALLBACK (void *) HandleEvent(PLEvent *event)
 PR_STATIC_CALLBACK (void) DestroyEvent(PLEvent *event)

Public Attributes

PRCList link
PLHandleEventProc handler
PLDestroyEventProc destructor
voidowner
voidsynchronousResult
PRLocklock
PRCondVarcondVar
PRBool handled

Private Attributes

nsConnEventHandler mHandler
PRInt32 mIParam
voidmVParam

Detailed Description

Definition at line 229 of file nsHttpConnectionMgr.h.


Constructor & Destructor Documentation

nsHttpConnectionMgr::nsConnEvent::nsConnEvent ( nsHttpConnectionMgr mgr,
nsConnEventHandler  handler,
PRInt32  iparam,
void vparam 
) [inline]

Definition at line 232 of file nsHttpConnectionMgr.h.

            : mHandler(handler)
            , mIParam(iparam)
            , mVParam(vparam)
        {
            NS_ADDREF(mgr);
            PL_InitEvent(this, mgr, HandleEvent, DestroyEvent);
        }

Here is the call graph for this function:


Member Function Documentation

Definition at line 244 of file nsHttpConnectionMgr.h.

        {
            nsHttpConnectionMgr *mgr = (nsHttpConnectionMgr *) event->owner;
            nsConnEvent *self = (nsConnEvent *) event;
            nsConnEventHandler handler = self->mHandler;
            (mgr->*handler)(self->mIParam, self->mVParam);
            NS_RELEASE(mgr);
            return nsnull;
        }

Definition at line 253 of file nsHttpConnectionMgr.h.

        {
            delete (nsConnEvent *) event;
        }

Member Data Documentation

PRCondVar * PLEvent::condVar [inherited]

Definition at line 514 of file nsIEventQueueService.idl.

Definition at line 510 of file nsIEventQueueService.idl.

PRBool PLEvent::handled [inherited]

Definition at line 515 of file nsIEventQueueService.idl.

Definition at line 509 of file nsIEventQueueService.idl.

PRCList PLEvent::link [inherited]

Definition at line 508 of file nsIEventQueueService.idl.

PRLock * PLEvent::lock [inherited]

Definition at line 513 of file nsIEventQueueService.idl.

Definition at line 259 of file nsHttpConnectionMgr.h.

Definition at line 260 of file nsHttpConnectionMgr.h.

Definition at line 261 of file nsHttpConnectionMgr.h.

void * PLEvent::owner [inherited]

Definition at line 511 of file nsIEventQueueService.idl.

Definition at line 512 of file nsIEventQueueService.idl.


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