Re: Auto selection
- From: "H. S. Lahman" <h.lahman@xxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 16:37:42 GMT
Responding to Kazakov...
Note that in event-based interfaces there is no need to send data by reference. That's because there is no return when an event is generated since there could be an arbitrary delay between when an event is generated and when it is consumed by the receiver in asynchronous communications (e.g., distributed). Thus any values returned by the receiver are sent back in a separate event data packet where the sender/receiver roles are reversed.
No. It is because both parties either exactly know or don't care about the
states of each other. This is the source of all problems events have.
Asynchronous nature of events is not an advantage. It is a premise. When
states become too complex to reconstruction on the peers, the architecture
collapses.
Asynchronous communication is the most general representation of communication. Synchronous communications are just a special case of an asynchronous description where the message order is deterministic. That's why in OOA/D messages are separated from methods and all behavior communications are assumed to be asynchronous. One can always implement an asynchronous model in an environment that is inherently synchronous without change. But one cannot always implement a synchronous model in an inherently asynchronous environment without modification.
At a more philosophical level, the separation of message and method ensures decoupling because the message sender does not need to know anything about who the receiver is and what the message receiver does in response. So the message sender can't depend on what the message receiver does. That elimination of hierarchical dependencies is the main benefit of OO development.
*************
There is nothing wrong with me that could
not be cured by a capful of Drano.
H. S. Lahman
hsl@xxxxxxxxxxxxxxxxx
Pathfinder Solutions
http://www.pathfindermda.com
blog: http://pathfinderpeople.blogs.com/hslahman
"Model-Based Translation: The Next Step in Agile Development". Email
info@xxxxxxxxxxxxxxxxx for your copy.
Pathfinder is hiring: http://www.pathfindermda.com/about_us/careers_pos3.php.
(888)OOA-PATH
.
- Follow-Ups:
- Re: Auto selection
- From: Dmitry A. Kazakov
- Re: Auto selection
- References:
- Auto selection
- From: tailorma_de
- Re: Auto selection
- From: H. S. Lahman
- Re: Auto selection
- From: tailorma_de
- Re: Auto selection
- From: H. S. Lahman
- Re: Auto selection
- From: Dmitry A. Kazakov
- Auto selection
- Prev by Date: Re: Pattern Question
- Next by Date: Re: Half user config and half client prog implemented
- Previous by thread: Re: Auto selection
- Next by thread: Re: Auto selection
- Index(es):
Relevant Pages
|