OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [java/] [net/] [protocol/] [http/] [LimitedLengthInputStream.h] - Blame information for rev 756

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_java_net_protocol_http_LimitedLengthInputStream__
5
#define __gnu_java_net_protocol_http_LimitedLengthInputStream__
6
 
7
#pragma interface
8
 
9
#include <java/io/InputStream.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace java
17
    {
18
      namespace net
19
      {
20
        namespace protocol
21
        {
22
          namespace http
23
          {
24
              class HTTPConnection;
25
              class LimitedLengthInputStream;
26
          }
27
        }
28
      }
29
    }
30
  }
31
}
32
 
33
class gnu::java::net::protocol::http::LimitedLengthInputStream : public ::java::io::InputStream
34
{
35
 
36
  void handleClose();
37
public: // actually package-private
38
  LimitedLengthInputStream(::java::io::InputStream *, jlong, jboolean, ::gnu::java::net::protocol::http::HTTPConnection *, jboolean);
39
public:
40
  virtual jint read();
41
  virtual jint read(JArray< jbyte > *);
42
  virtual jint read(JArray< jbyte > *, jint, jint);
43
  virtual jlong skip(jlong);
44
  virtual jint available();
45
  virtual void close();
46
private:
47
  jlong __attribute__((aligned(__alignof__( ::java::io::InputStream)))) remainingLen;
48
  jboolean restrictLen;
49
  ::gnu::java::net::protocol::http::HTTPConnection * connection;
50
  jboolean eof;
51
  ::java::io::InputStream * in;
52
  jboolean doClose;
53
public:
54
  static ::java::lang::Class class$;
55
};
56
 
57
#endif // __gnu_java_net_protocol_http_LimitedLengthInputStream__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.