summaryrefslogtreecommitdiff
path: root/libjava/java/nio/channels/ByteChannel.h
blob: a813648137aef95d902a2d03e564f00f291911ac (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_nio_channels_ByteChannel__
#define __java_nio_channels_ByteChannel__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace nio
    {
        class ByteBuffer;
      namespace channels
      {
          class ByteChannel;
      }
    }
  }
}

class java::nio::channels::ByteChannel : public ::java::lang::Object
{

public:
  virtual jint read(::java::nio::ByteBuffer *) = 0;
  virtual jboolean isOpen() = 0;
  virtual void close() = 0;
  virtual jint write(::java::nio::ByteBuffer *) = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __java_nio_channels_ByteChannel__