Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #30307
| From | Steven Simpson <ss@domain.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: A stream/pipe that fills only on demand... |
| Date | 2014-11-07 10:00 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <rqhuib-18f.ln1@s.simpson148.btinternet.com> (permalink) |
| References | <slrnm5p4h0.r49.avl@login.logic.tuwien.ac.at> |
On 07/11/14 09:34, Andreas Leitgeb wrote: > My needs are a bit different, though: I need a pipe-stream > that recognizes reader's request for bytes, and tells the > writer-end about the requested volume, and then the writer > will write just as much into the pipe as is needed by the > reader. The reader just uses the normal API that InputStream > offers, but I need these calls to identify themselves to the > pipe-writer, which would use a (yet unspecified) special API, > so the writer knows how much to put into the pipe-stream. Surely, that special API is InputStream itself...? -- ss at comp dot lancs dot ac dot uk
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A stream/pipe that fills only on demand... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-11-07 09:34 +0000
Re: A stream/pipe that fills only on demand... Steven Simpson <ss@domain.invalid> - 2014-11-07 10:00 +0000
Re: A stream/pipe that fills only on demand... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-11-07 15:14 +0000
Re: A stream/pipe that fills only on demand... Martin Gregorie <martin@address-in-sig.invalid> - 2014-11-07 12:27 +0000
Re: A stream/pipe that fills only on demand... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-11-07 15:13 +0000
Re: A stream/pipe that fills only on demand... Robert Klemme <shortcutter@googlemail.com> - 2014-11-08 11:20 +0100
Re: A stream/pipe that fills only on demand... Nigel Wade <nmw@ion.le.ac.uk> - 2014-11-10 09:24 +0000
Re: A stream/pipe that fills only on demand... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-11-29 16:02 +0000
csiph-web