at:tutorial:distribution
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
at:tutorial:distribution [2007/04/26 20:07] – elisag | at:tutorial:distribution [2007/04/26 20:13] – elisag | ||
---|---|---|---|
Line 51: | Line 51: | ||
The code block to execute when the service type becomes available is parameterized with the actual remote reference to the discovered service object. In the example above, '' | The code block to execute when the service type becomes available is parameterized with the actual remote reference to the discovered service object. In the example above, '' | ||
< | < | ||
- | We are using a future to get the return value of the '' | + | We are using a future to get the return value of the '' |
</ | </ | ||
Line 61: | Line 61: | ||
===== Partial Failure Handling ===== | ===== Partial Failure Handling ===== | ||
- | Let us consider again the example instant messenger application described in previous subsection to further explain the semantics of AmbientTalk' | + | Let us consider again the example instant messenger application described in previous subsection to further explain the semantics of AmbientTalk' |
+ | |||
+ | When an object discovers a service type, the '' | ||
- Objects are always passed by far reference, except for isolate objects which are passed by copy. | - Objects are always passed by far reference, except for isolate objects which are passed by copy. | ||
- Native data types are always passed by copy. | - Native data types are always passed by copy. | ||
+ | |||
When a remote far reference receives a messages, it flushes the message to the remote object providing that it is connected. If the remote far reference is disconnected, | When a remote far reference receives a messages, it flushes the message to the remote object providing that it is connected. If the remote far reference is disconnected, |
at/tutorial/distribution.txt · Last modified: 2009/01/30 16:13 by tvcutsem