OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / java / nio / SelectionKeyImpl.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_java_nio_SelectionKeyImpl__
5 #define __gnu_java_nio_SelectionKeyImpl__
6
7 #pragma interface
8
9 #include <java/nio/channels/spi/AbstractSelectionKey.h>
10 extern "Java"
11 {
12   namespace gnu
13   {
14     namespace java
15     {
16       namespace nio
17       {
18           class SelectionKeyImpl;
19           class SelectorImpl;
20       }
21     }
22   }
23   namespace java
24   {
25     namespace nio
26     {
27       namespace channels
28       {
29           class SelectableChannel;
30           class SelectionKey;
31           class Selector;
32       }
33     }
34   }
35 }
36
37 class gnu::java::nio::SelectionKeyImpl : public ::java::nio::channels::spi::AbstractSelectionKey
38 {
39
40 public:
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;
49 private:
50   jint __attribute__((aligned(__alignof__( ::java::nio::channels::spi::AbstractSelectionKey)))) readyOps__;
51   jint interestOps__;
52   ::gnu::java::nio::SelectorImpl * impl;
53 public: // actually package-private
54   ::java::nio::channels::SelectableChannel * ch;
55 public:
56   static ::java::lang::Class class$;
57 };
58
59 #endif // __gnu_java_nio_SelectionKeyImpl__