2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_io_PipedInputStream__
5 #define __java_io_PipedInputStream__
9 #include <java/io/InputStream.h>
10 #include <gcj/array.h>
13 class java::io::PipedInputStream
: public ::java::io::InputStream
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
);
28 virtual jint
read(JArray
< jbyte
> *, jint
, jint
);
29 virtual jint
available();
31 public: // actually package-private
32 ::java::io::PipedOutputStream
* __attribute__((aligned(__alignof__( ::java::io::InputStream
)))) source
;
34 public: // actually protected
35 static const jint PIPE_SIZE
= 1024;
36 JArray
< jbyte
> * buffer
;
40 JArray
< jbyte
> * read_buf
;
42 static ::java::lang::Class
class$
;
45 #endif // __java_io_PipedInputStream__