Mark ChangeLog
[official-gcc.git] / libjava / java / io / PipedInputStream.h
blob4055fa4ca4db4d764b2f959e2f51af95825ba9d0
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_io_PipedInputStream__
5 #define __java_io_PipedInputStream__
7 #pragma interface
9 #include <java/io/InputStream.h>
10 #include <gcj/array.h>
13 class java::io::PipedInputStream : public ::java::io::InputStream
16 public:
17 PipedInputStream();
18 PipedInputStream(jint);
19 PipedInputStream(::java::io::PipedOutputStream *);
20 PipedInputStream(::java::io::PipedOutputStream *, jint);
21 virtual void connect(::java::io::PipedOutputStream *);
22 public: // actually protected
23 virtual void receive(jint);
24 public: // actually package-private
25 virtual void receive(JArray< jbyte > *, jint, jint);
26 public:
27 virtual jint read();
28 virtual jint read(JArray< jbyte > *, jint, jint);
29 virtual jint available();
30 virtual void close();
31 public: // actually package-private
32 ::java::io::PipedOutputStream * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) source;
33 jboolean closed;
34 public: // actually protected
35 static const jint PIPE_SIZE = 1024;
36 JArray< jbyte > * buffer;
37 jint in;
38 jint out;
39 private:
40 JArray< jbyte > * read_buf;
41 public:
42 static ::java::lang::Class class$;
45 #endif // __java_io_PipedInputStream__