summaryrefslogtreecommitdiff
path: root/libjava/java/io/PipedInputStream.h
blob: 4055fa4ca4db4d764b2f959e2f51af95825ba9d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_io_PipedInputStream__
#define __java_io_PipedInputStream__

#pragma interface

#include <java/io/InputStream.h>
#include <gcj/array.h>


class java::io::PipedInputStream : public ::java::io::InputStream
{

public:
  PipedInputStream();
  PipedInputStream(jint);
  PipedInputStream(::java::io::PipedOutputStream *);
  PipedInputStream(::java::io::PipedOutputStream *, jint);
  virtual void connect(::java::io::PipedOutputStream *);
public: // actually protected
  virtual void receive(jint);
public: // actually package-private
  virtual void receive(JArray< jbyte > *, jint, jint);
public:
  virtual jint read();
  virtual jint read(JArray< jbyte > *, jint, jint);
  virtual jint available();
  virtual void close();
public: // actually package-private
  ::java::io::PipedOutputStream * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) source;
  jboolean closed;
public: // actually protected
  static const jint PIPE_SIZE = 1024;
  JArray< jbyte > * buffer;
  jint in;
  jint out;
private:
  JArray< jbyte > * read_buf;
public:
  static ::java::lang::Class class$;
};

#endif // __java_io_PipedInputStream__