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 [2008/09/16 17:26] – * tvcutsem | at:tutorial:distribution [2009/01/28 11:26] – elisag | ||
---|---|---|---|
Line 3: | Line 3: | ||
Building on the actor-based concurrency model explained in the [[actors|previous chapter]], this chapter discusses the distribution provisions of AmbientTalk. For actors to communicate across the boundaries of a single device, actors need to be capable of discovering one another' | Building on the actor-based concurrency model explained in the [[actors|previous chapter]], this chapter discusses the distribution provisions of AmbientTalk. For actors to communicate across the boundaries of a single device, actors need to be capable of discovering one another' | ||
- | These requirements correspond to the cornerstones of the Ambient-Oriented Programming paradigm. The seamless integration of language support for dealing with partial failures and performing service discovery, hinge on AmbientTalk' | + | These requirements correspond to the cornerstones of the Ambient-Oriented Programming paradigm. The seamless integration of language support for dealing with partial failures and performing service discovery, hinge on AmbientTalk' |
Before delving in these topics, we illustrate how to activate the network facilities of AmbientTalk in the next section. | Before delving in these topics, we illustrate how to activate the network facilities of AmbientTalk in the next section. | ||
Line 67: | Line 67: | ||
Let us consider again the example instant messenger application described in previous section to further explain the semantics of AmbientTalk' | Let us consider again the example instant messenger application described in previous section to further explain the semantics of AmbientTalk' | ||
- | When an object discovers a service type, the '' | + | When an object discovers a service type, the '' |
- Objects are always passed //by far reference//, | - Objects are always passed //by far reference//, | ||
Line 90: | Line 90: | ||
This code illustrate how the instant messenger application notifies when a buddy goes online or offline. In the above code, '' | This code illustrate how the instant messenger application notifies when a buddy goes online or offline. In the above code, '' | ||
- | In order to cope with partial failures, AmbientTalk also allows developers to retract all currently unsent messages from the far reference outbox by means of the '' | + | In order to cope with partial failures, AmbientTalk also allows developers to retract all currently unsent messages from the remote |
The '' | The '' | ||
Line 107: | Line 107: | ||
===== Garbage collecting remote references ===== | ===== Garbage collecting remote references ===== | ||
+ | |||
+ | < | ||
+ | This is an advanced topic and probably does not belong in the tutorial. Moreover, it discusses features to be used only by implementors of reflective language constructs. It would better be replaced by a thorough explanation of leased object references. | ||
+ | </ | ||
As explained in the previous section, AmbientTalk' | As explained in the previous section, AmbientTalk' |
at/tutorial/distribution.txt · Last modified: 2009/01/30 16:13 by tvcutsem