nsIEventQueue

IID:176AFB41-00A4-11d3-9F2A-00400553EEF0
Inherits From:nsIEventTarget

This interface is implemented by the following components:


Methods

void enterMonitor ( ) [noscript] void eventAvailable ( PRBoolRef result ) void eventLoop ( ) void exitMonitor ( ) [noscript] PLEventPtr* getEvent ( ) [notxpcom] PRInt32 getEventQueueSelectFD ( ) [noscript] PLEventQueuePtr* getPLEventQueue ( ) [noscript] void handleEvent ( PLEventPtr* event ) void init ( PRBool native ) [noscript] void initEvent ( PLEventPtr* event , voidPtr* owner , PLHandleEventProc handler , PLDestroyEventProc destructor ) [noscript] void initFromPLQueue ( PLEventQueuePtr* queue ) [noscript] void initFromPRThread ( PRThreadPtr* thread , PRBool native ) PRBool isQueueNative ( ) PRBool pendingEvents ( ) [noscript] void postSynchronousEvent ( PLEventPtr* event , out voidPtr* result ) void processPendingEvents ( ) [noscript] void revokeEvents ( voidPtr* owner ) void stopAcceptingEvents ( ) [noscript] PLEventPtr* waitForEvent ( )

void enterMonitor ( )


void eventAvailable ( PRBoolRef result )

Arguments:
result

void eventLoop ( )


void exitMonitor ( )


PLEventPtr* getEvent ( )


[notxpcom] PRInt32 getEventQueueSelectFD ( )


PLEventQueuePtr* getPLEventQueue ( )


void handleEvent ( PLEventPtr* event )

Arguments:
event

void init ( PRBool native )

Arguments:
native

void initEvent ( PLEventPtr* event , voidPtr* owner , PLHandleEventProc handler , PLDestroyEventProc destructor )

Arguments:
event
owner
handler
destructor

void initFromPLQueue ( PLEventQueuePtr* queue )

Arguments:
queue

void initFromPRThread ( PRThreadPtr* thread , PRBool native )

Arguments:
thread
native

PRBool isQueueNative ( )


PRBool pendingEvents ( )


void postSynchronousEvent ( PLEventPtr* event , out voidPtr* result )

Arguments:
event
result

void processPendingEvents ( )


void revokeEvents ( voidPtr* owner )

Revoke events in this event queue and all other event queues for this thread that have owner as the event owner.

Arguments:
owner

void stopAcceptingEvents ( )


PLEventPtr* waitForEvent ( )


References

This interface is passed as an argument to the following methods:

nsIAppShell.ListenToEventQueue, nsIAsyncStreamListener.init, nsIEventQueueService.popThreadEventQueue, nsIEventQueueService.resolveEventQueue, nsIImapIncomingServer.GetImapConnectionAndLoadUrl, nsIImapProtocol.Initialize, nsIImapService.addMessageFlags, nsIImapService.appendMessageFromFile, nsIImapService.biff, nsIImapService.createFolder, nsIImapService.deleteAllMessages, nsIImapService.deleteFolder, nsIImapService.deleteMessages, nsIImapService.discoverAllAndSubscribedFolders, nsIImapService.discoverAllFolders, nsIImapService.discoverChildren, nsIImapService.discoverLevelChildren, nsIImapService.ensureFolderExists, nsIImapService.expunge, nsIImapService.fetchCustomMsgAttribute, nsIImapService.getFolderAdminUrl, nsIImapService.getHeaders, nsIImapService.issueCommandOnMsgs, nsIImapService.listFolder, nsIImapService.liteSelectFolder, nsIImapService.moveFolder, nsIImapService.noop, nsIImapService.onlineMessageCopy, nsIImapService.renameLeaf, nsIImapService.selectFolder, nsIImapService.setMessageFlags, nsIImapService.storeCustomKeywords, nsIImapService.subscribeFolder, nsIImapService.subtractMessageFlags, nsIImapService.unsubscribeFolder, nsIImapService.updateFolderStatus, nsIProxyObjectManager.getProxy, nsIProxyObjectManager.getProxyForObject, nsIRequestObserverProxy.init, nsIStreamListenerProxy.init

This interface is returned from the following methods:

nsIEventQueueService.createFromIThread, nsIEventQueueService.createFromPLEventQueue, nsIEventQueueService.getSpecialEventQueue, nsIEventQueueService.getThreadEventQueue, nsIEventQueueService.pushThreadEventQueue, nsIEventQueueService.resolveEventQueue

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com