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.
|
|
available on the web at: |
http://mindprod.com/jgloss/pipe.html |
optional Replicator mirror
|
J:\mindprod\jgloss\pipe.html | |
![]() |
Please email your
feedback for publication,
letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear
wording, broken/redirected link reports, suggestions to improve this page or comments to
Roedy Green :
| |
| Blog | Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[107.22.127.92] |
|
| Feedback | You are visitor number 19,710. | |