summaryrefslogtreecommitdiff
path: root/libjava/java/nio/channels/spi/SelectorProvider.h
blob: a6b7052beabe5b8290a04ab9923a4a085aa52e74 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_nio_channels_spi_SelectorProvider__
#define __java_nio_channels_spi_SelectorProvider__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace nio
    {
      namespace channels
      {
          class Channel;
          class DatagramChannel;
          class Pipe;
          class ServerSocketChannel;
          class SocketChannel;
        namespace spi
        {
            class AbstractSelector;
            class SelectorProvider;
        }
      }
    }
  }
}

class java::nio::channels::spi::SelectorProvider : public ::java::lang::Object
{

public: // actually protected
  SelectorProvider();
public:
  virtual ::java::nio::channels::DatagramChannel * openDatagramChannel() = 0;
  virtual ::java::nio::channels::Pipe * openPipe() = 0;
  virtual ::java::nio::channels::spi::AbstractSelector * openSelector() = 0;
  virtual ::java::nio::channels::ServerSocketChannel * openServerSocketChannel() = 0;
  virtual ::java::nio::channels::SocketChannel * openSocketChannel() = 0;
  virtual ::java::nio::channels::Channel * inheritedChannel();
  static ::java::nio::channels::spi::SelectorProvider * provider();
private:
  static ::java::nio::channels::spi::SelectorProvider * systemDefaultProvider;
public:
  static ::java::lang::Class class$;
};

#endif // __java_nio_channels_spi_SelectorProvider__