WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the
XUL hub at the
Mozilla Developer Center.
@mozilla.org/xpcomproxy;1
This component implements the following interfaces:
Constants
| Construct a proxy object that invokes methods on the real object
synchronously (i.e., the calling thread is blocked until the real method
call returns). This flag causes methods invoked on the proxy object to
emmulate a real method call.
For C++ callers, NS_PROXY_SYNC is a synonym for this flag.
|
| PRInt32 |
nsIProxyObjectManager.INVOKE_SYNC |
= 1 |
| Construct a proxy object that invokes methods on the real object
asynchronously (i.e., the calling thread does not wait for the real
method call to occur).
WARNING: do not pass pointers into the stack when using this flag.
For C++ callers, NS_PROXY_ASYNC is a synonym for this flag.
|
| PRInt32 |
nsIProxyObjectManager.INVOKE_ASYNC |
= 2 |
| Always create the proxy object even if for same thread as current thread.
For C++ callers, NS_PROXY_ALWAYS is a synonym for this flag.
|
| PRInt32 |
nsIProxyObjectManager.FORCE_PROXY_CREATION |
= 4 |
Methods
Reference documentation is generated from Mozilla's source.