
// 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__
