OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / java / nio / channels / ByteChannel.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __java_nio_channels_ByteChannel__
5 #define __java_nio_channels_ByteChannel__
6
7 #pragma interface
8
9 #include <java/lang/Object.h>
10 extern "Java"
11 {
12   namespace java
13   {
14     namespace nio
15     {
16         class ByteBuffer;
17       namespace channels
18       {
19           class ByteChannel;
20       }
21     }
22   }
23 }
24
25 class java::nio::channels::ByteChannel : public ::java::lang::Object
26 {
27
28 public:
29   virtual jint read(::java::nio::ByteBuffer *) = 0;
30   virtual jboolean isOpen() = 0;
31   virtual void close() = 0;
32   virtual jint write(::java::nio::ByteBuffer *) = 0;
33   static ::java::lang::Class class$;
34 } __attribute__ ((java_interface));
35
36 #endif // __java_nio_channels_ByteChannel__