[comp.sys.next] Callbacks via Speaker/Listener

lane@sumex-aim.stanford.edu (Christopher Lane) (06/29/90)

I have an application (yet to be built) that I want multiple other
applications to message (via Speaker/Listener) and I not only want to respond
to those messages but keep track of who sent them so that when a later event
occurs, I can 'call back' to specific applications with a message via
Speaker/Listener.

I see no way in the documentation for a Speaker/Listener style method to find
out anything about the remote sender.  My guess is I could do what I want by
dropping down to the MACH/C level but I'd much prefer to do via methods.  I
could also do this by passing the application name/port as a message argument
everytime but that offends my sense of esthetics.

What are others doing about call backs?  Some combination of specializing
messageReceived: and a global is the best approach I can conjure and I'm not
too sure about it.

Thanks for any suggestions,

- Christopher
-------