Pipes are also used to flow the STDOUT and STDERR of one program into the next. This is controlled with BAT (Batch) files.
Java pipes are intended for communication only between threads running in the same JVM (Java Virtual Machine). For interprocess communication, you must use sockets. In Linux you can use named pipes. In Java you access them as if they were files. They allow you direct the output of one program to the input of another running simultaneously. IO blocks when the reader gets ahead of the writer.
This page is posted |
http://mindprod.com/jgloss/pipe.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\pipe.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[18.191.93.18] |
| |
Feedback |
You are visitor number | |