2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_java_nio_SelectionKeyImpl__
5 #define __gnu_java_nio_SelectionKeyImpl__
9 #include <java/nio/channels/spi/AbstractSelectionKey.h>
18 class SelectionKeyImpl;
29 class SelectableChannel;
37 class gnu::java::nio::SelectionKeyImpl : public ::java::nio::channels::spi::AbstractSelectionKey
41 SelectionKeyImpl(::java::nio::channels::SelectableChannel *, ::gnu::java::nio::SelectorImpl *);
42 virtual ::java::nio::channels::SelectableChannel * channel();
43 virtual jint readyOps();
44 virtual ::java::nio::channels::SelectionKey * readyOps(jint);
45 virtual jint interestOps();
46 virtual ::java::nio::channels::SelectionKey * interestOps(jint);
47 virtual ::java::nio::channels::Selector * selector();
48 virtual jint getNativeFD() = 0;
50 jint __attribute__((aligned(__alignof__( ::java::nio::channels::spi::AbstractSelectionKey)))) readyOps__;
52 ::gnu::java::nio::SelectorImpl * impl;
53 public: // actually package-private
54 ::java::nio::channels::SelectableChannel * ch;
56 static ::java::lang::Class class$;
59 #endif // __gnu_java_nio_SelectionKeyImpl__