Next: Package tests
Up: Learning SALSA by Example
Previous: Learning SALSA by Example
Package examples are useful for learning SALSA. Examples consist of:
- examples.addressbook: The address book example shown in
Section 4.2.
- examples.cell: It implements a cell actor that has two message handlers:
set to set the value, and get to get the value of the cell.
Both versions of distributed and single host examples are provide.
- examples.chat: Two Speaker actors run as services and start
a chat session which is triggered by the Chat actor.
- examples.fibonacci: The recursive fibonacci application.
- examples.Heat: A simple simulation of heat flow. Both distributed and
single host versions are provided.
- examples.helloworld: The HelloWorld example.
- examples.messenger: An example showing message delivery.
- examples.migration: An example to show how to migrate an actor.
- examples.multicast: A group of examples showing how to implement several multicast protocols.
- examples.nqueens: A program that tries to solve the
N-Queens problem.
- examples.numbers: Examples of actor inheritance and concurrency
coordination.
- examples.ping: An example showing the echo server and the ping client.
- examples.ticker: A ticker example: a non-terminating actor
- examples.trap: This numerical application approximates the integral of a function over
an interval [a, b] by using the trapezoidal approximation.
Next: Package tests
Up: Learning SALSA by Example
Previous: Learning SALSA by Example
Wei-Jen Wang
2007-11-28