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:29] – * tvcutsem | at:tutorial:distribution [2009/01/28 11:27] – 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 65: | Line 65: | ||
===== Partial Failure Handling ===== | ===== Partial Failure Handling ===== | ||
- | 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 '' |
at/tutorial/distribution.txt · Last modified: 2009/01/30 16:13 by tvcutsem