On Dec 26, 10:02 am, Gary Wessle <phd...@yahoo.comwrote:
Hi
what is the difference between synchronous vs. asynchronous messages
an object sends to another.
google was not much of a friend and wikipedia did not come to the
rescue.
thanks
very simplistic example.....(and follow up set to comp.object)
Synchronous : when the caller has to wait for the callee to finish
processing the message.
Asynchronous: Where the Event Generator sends out an Event Object,
which contains all necessary info about what happened. The event is
sent out to an Event Queue (usually on a different thread or indeed in
a different process) and the Even Consumer(S) all handle as required.
HTH
Andrew