On Apr 29, 8:21 pm, timeless <[EMAIL PROTECTED]> wrote: > On Apr 22, 2:56 am, Maya <[EMAIL PROTECTED]> wrote: > > > I am working on a C++ XPCOM component which encrypts and decrypts the > > HTTP request and response using certain algorithms. > > kinda strange.... > > > I have registered a custom HTTP handler class which does the > > encryption in NewProxiedChannel(...) method while opening the channel > > corresponding to the request. > > The custom handler needs to get some input from the user before > > opening the new encrypted channel (if certain conditions are not met) > > and has to synchronously wait till it gets the information from the > > user. The handler broadcasts a notification from the > > NewProxiedChannel(...) method. The Javascript has an Observer which > > listens for it and displays a dialog box to get the user information. > > can't you look at how psm/nss work? > > > What kind of wait-notify mechanism is there in XPCOM ? > > most things are done by using sync or async proxying from a non ui > thread to the ui thread. > look at the proxy object manager.
Thanks a lot for the help ! Will look into that. -Maya _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
