2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_io_PipedReader__
5 #define __java_io_PipedReader__
9 #include <java/io/Reader.h>
10 #include <gcj/array.h>
13 class java::io::PipedReader
: public ::java::io::Reader
18 PipedReader(::java::io::PipedWriter
*);
19 virtual void connect(::java::io::PipedWriter
*);
20 public: // actually package-private
21 virtual void receive(JArray
< jchar
> *, jint
, jint
);
24 virtual jint
read(JArray
< jchar
> *, jint
, jint
);
25 virtual jboolean
ready();
27 public: // actually package-private
28 ::java::io::PipedWriter
* __attribute__((aligned(__alignof__( ::java::io::Reader
)))) source
;
30 static const jint PIPE_SIZE
= 2048;
31 JArray
< jchar
> * buffer
;
34 JArray
< jchar
> * read_buf
;
36 static ::java::lang::Class
class$
;
39 #endif // __java_io_PipedReader__