Daily bump.
[official-gcc.git] / libjava / java / io / PipedReader.h
blob1eac2f79e181814e6f66f5c733dfd4a54b56f291
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_io_PipedReader__
5 #define __java_io_PipedReader__
7 #pragma interface
9 #include <java/io/Reader.h>
10 #include <gcj/array.h>
13 class java::io::PipedReader : public ::java::io::Reader
16 public:
17 PipedReader();
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);
22 public:
23 virtual jint read();
24 virtual jint read(JArray< jchar > *, jint, jint);
25 virtual jboolean ready();
26 virtual void close();
27 public: // actually package-private
28 ::java::io::PipedWriter * __attribute__((aligned(__alignof__( ::java::io::Reader)))) source;
29 jboolean closed;
30 static const jint PIPE_SIZE = 2048;
31 JArray< jchar > * buffer;
32 jint in;
33 jint out;
34 JArray< jchar > * read_buf;
35 public:
36 static ::java::lang::Class class$;
39 #endif // __java_io_PipedReader__