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/06/19 16:14] – tvcutsem | at:tutorial:actors [2007/07/18 09:12] – Adding elisag | ||
---|---|---|---|
Line 32: | Line 32: | ||
As you can see, actors are created similar to objects. The '' | As you can see, actors are created similar to objects. The '' | ||
- | 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 | + | 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 |
+ | |||
+ | < | ||
+ | If the object referred to by a far reference is tagged with one or more type tags, the far reference itself is tagged with the same type tags. Hence, an object located on a remote actor can be tested for its types // | ||
+ | </ | ||
+ | |||
+ | The figure | ||
+ | |||
+ | {{: | ||
- | Note that, if the object referred to by a far reference is tagged with one or more type tags, the far reference itself is tagged with the same type tags. Hence, an object located on a remote actor can be tested for its types // | ||
===== Asynchronous Message Sending ===== | ===== Asynchronous Message Sending ===== | ||
Line 278: | Line 286: | ||
==== Futures and Annotated Messages ==== | ==== Futures and Annotated Messages ==== | ||
- | 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 annotated with the '' | When a message send is annotated with the '' |
at/tutorial/actors.txt · Last modified: 2020/02/05 21:26 by elisag