hmm, Obviously I don't know anything about these different methods of 
doing this, but the names don't give me a great deal of reassurance. 
If I want to pass a message from X to Y the requirements would be as 
follows:


X initiates message passing of "hello Y"
X does not open Y. Y may or may not be opened.
 Y is not observing X or in any way waiting for a message from X, Y 
does have a generic message catcher (is this possible in Xpcom) that 
will accept a message from any window. Y makes sure that any message 
received is a string. it writes the value of message to its display 
area.
IF X passes a message to Y and Y is not open it is possible to get 
back an error report of Y not open. There should otherwise not be any 
feedback from Y to X unless Y initiates passing a message to X 
directly.

Y does not call messages from X. Both extensions are implemented as 
toolbars. The message is sent from X by clicking button in X.

Any links to the parts of documentation to read for this, an example 
project would be much appreciated.

Cheers,
Bryan Rasmussen





On Jan 23, 8:31 am, "timeless" <[EMAIL PROTECTED]> wrote:
> On Jan 20, 8:48 pm, "pantagruel" <[EMAIL PROTECTED]> wrote:
>
> > I would like to get information on message passing with xpcom. To get
> > started I would like to be able to pass a hello world from one window
> > in firefox or mozilla to another window in firefox or mozilla. It is
> > assumed that these windows are extension windows.there are dozens of ways 
> > to do this.
>
> you can use the observer service, you could use the window watcher, if
> your extensions are services, you could get them and call methods, if
> one window opened the other, then both normally have DOM handles to
> eachother.
>
> this question isn't really useful.

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to