summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/nio/SelectionKeyImpl.h
blob: 29e0dca2cc7d1e7cf46ba7a998e623fd95917ddb (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_nio_SelectionKeyImpl__
#define __gnu_java_nio_SelectionKeyImpl__

#pragma interface

#include <java/nio/channels/spi/AbstractSelectionKey.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace nio
      {
          class SelectionKeyImpl;
          class SelectorImpl;
      }
    }
  }
  namespace java
  {
    namespace nio
    {
      namespace channels
      {
          class SelectableChannel;
          class SelectionKey;
          class Selector;
      }
    }
  }
}

class gnu::java::nio::SelectionKeyImpl : public ::java::nio::channels::spi::AbstractSelectionKey
{

public:
  SelectionKeyImpl(::java::nio::channels::SelectableChannel *, ::gnu::java::nio::SelectorImpl *);
  virtual ::java::nio::channels::SelectableChannel * channel();
  virtual jint readyOps();
  virtual ::java::nio::channels::SelectionKey * readyOps(jint);
  virtual jint interestOps();
  virtual ::java::nio::channels::SelectionKey * interestOps(jint);
  virtual ::java::nio::channels::Selector * selector();
  virtual jint getNativeFD() = 0;
private:
  jint __attribute__((aligned(__alignof__( ::java::nio::channels::spi::AbstractSelectionKey)))) readyOps__;
  jint interestOps__;
  ::gnu::java::nio::SelectorImpl * impl;
public: // actually package-private
  ::java::nio::channels::SelectableChannel * ch;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_nio_SelectionKeyImpl__