at:tutorial:actors
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:actors [2007/05/15 19:35] – * tvcutsem | at:tutorial:actors [2007/06/19 16:14] – * tvcutsem | ||
---|---|---|---|
Line 34: | Line 34: | ||
So what exactly is a far reference to an object? The terminology stems from the E language: it is an object reference that refers to an object hosted by another actor. The main difference between regular object references and far references is that regular references allow direct, synchronous access to an object, while far references disallow such access. This is enforced by the kind of messages that these references can carry, as will be explained below. | So what exactly is a far reference to an object? The terminology stems from the E language: it is an object reference that refers to an object hosted by another actor. The main difference between regular object references and far references is that regular references allow direct, synchronous access to an object, while far references disallow such access. This is enforced by the kind of messages that these references can carry, as will be explained below. | ||
- | Note that, if the object referred to by a far reference is striped | + | Note that, if the object referred to by a far reference is tagged |
===== Asynchronous Message Sending ===== | ===== Asynchronous Message Sending ===== | ||
Line 107: | Line 107: | ||
}; | }; | ||
}; | }; | ||
- | >>< | + | >>< |
</ | </ | ||
- | The '' | + | The '' |
An isolate differs from a regular object as follows: | An isolate differs from a regular object as follows: | ||
Line 245: | Line 245: | ||
</ | </ | ||
- | Or, you can specify a stripe | + | Or, you can specify a type tag to only catch specific exceptions: |
< | < | ||
Line 276: | Line 276: | ||
When the future for ''< | When the future for ''< | ||
- | ==== Futures and Striped | + | ==== Futures and Annotated |
- | As previously explained, there are two modes for enabling futures in AmbientTalk. Invoking '' | + | As previously explained, there are two modes for enabling futures in AmbientTalk. Invoking '' |
- | When a message send is striped | + | When a message send is annotated |
< | < | ||
Line 286: | Line 286: | ||
</ | </ | ||
- | When a message send is striped | + | When a message send is annotated |
< | < |
at/tutorial/actors.txt · Last modified: 2020/02/05 21:26 by elisag