Next: Package tests
Up: Learning SALSA by Example
Previous: Learning SALSA by Example
Contents
Package examples are useful for learning SALSA. Examples consist of:
- examples.addressbook: The addressbook example shown in
Section 4.2.
- examples.cell: It implements a cell actor that has two message habdlers:
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 Speake actors run as services and start
a chat session which is triggered by the Chat actor.
- examples.fibonacci: A SALSA version of the 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 multicasts.
- examples.nqueens: A SALSA program that tries to solve the famous
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.
- examples.trap: The 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
Contents
Wei-Jen Wang
2005-10-24