Next: Developing SALSA Programs
Up: Writing Concurrent Programs
Previous: First-Class Continuations
Using Input/Output (I/O) Actors
SALSA provides three actors supporting asynchronous I/O. One is an input service (standardInput), and the
other two are output services (standardOutput and standardError). Since they are actors, they are
used with message passing.
standardOutput provides the following message handlers:
- print(boolean p)
- print(byte p)
- print(char p)
- print(double p)
- print(float p)
- print(int p)
- print(long p)
- print(Object p)
- print(short p)
- println(boolean p)
- println(byte p)
- println(char p)
- println(double p)
- println(float p)
- println(int p)
- println(long p)
- println(Object p)
- println(short p)
- println()
standardError provides the following message handlers:
- print(boolean p)
- print(byte p)
- print(char p)
- print(double p)
- print(float p)
- print(int p)
- print(long p)
- print(Object p)
- print(short p)
- println(boolean p)
- println(byte p)
- println(char p)
- println(double p)
- println(float p)
- println(int p)
- println(long p)
- println(Object p)
- println(short p)
- println()
standardInput provides only one message handler in current SALSA release:
Next: Developing SALSA Programs
Up: Writing Concurrent Programs
Previous: First-Class Continuations
Wei-Jen Wang
2007-11-28