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.
|
|
You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) |
| http://mindprod.com/jgloss/pipe.html | 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 :
| |
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.179.211] | |
| Feedback | You are visitor number 18,900. | |