summaryrefslogtreecommitdiff
path: root/libjava/java/nio/channels/spi/AbstractSelectableChannel.h
blob: f126f441e22a9f8c742dc1c5e80f0cc4ff286d81 (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
60
61
62
63
64
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_nio_channels_spi_AbstractSelectableChannel__
#define __java_nio_channels_spi_AbstractSelectableChannel__

#pragma interface

#include <java/nio/channels/SelectableChannel.h>
extern "Java"
{
  namespace java
  {
    namespace nio
    {
      namespace channels
      {
          class SelectableChannel;
          class SelectionKey;
          class Selector;
        namespace spi
        {
            class AbstractSelectableChannel;
            class SelectorProvider;
        }
      }
    }
  }
}

class java::nio::channels::spi::AbstractSelectableChannel : public ::java::nio::channels::SelectableChannel
{

public: // actually protected
  AbstractSelectableChannel(::java::nio::channels::spi::SelectorProvider *);
public:
  virtual ::java::lang::Object * blockingLock();
  virtual ::java::nio::channels::SelectableChannel * configureBlocking(jboolean);
public: // actually protected
  virtual void implCloseChannel();
  virtual void implCloseSelectableChannel() = 0;
  virtual void implConfigureBlocking(jboolean) = 0;
public:
  virtual jboolean isBlocking();
  virtual jboolean isRegistered();
  virtual ::java::nio::channels::SelectionKey * keyFor(::java::nio::channels::Selector *);
  virtual ::java::nio::channels::spi::SelectorProvider * provider();
private:
  ::java::nio::channels::SelectionKey * locate(::java::nio::channels::Selector *);
public:
  virtual ::java::nio::channels::SelectionKey * register$(::java::nio::channels::Selector *, jint, ::java::lang::Object *);
public: // actually package-private
  virtual void addSelectionKey(::java::nio::channels::SelectionKey *);
  virtual void removeSelectionKey(::java::nio::channels::SelectionKey *);
private:
  jboolean __attribute__((aligned(__alignof__( ::java::nio::channels::SelectableChannel)))) blocking;
  ::java::lang::Object * LOCK;
  ::java::nio::channels::spi::SelectorProvider * provider__;
  ::java::util::LinkedList * keys;
public:
  static ::java::lang::Class class$;
};

#endif // __java_nio_channels_spi_AbstractSelectableChannel__