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

#ifndef __java_nio_channels_ServerSocketChannel__
#define __java_nio_channels_ServerSocketChannel__

#pragma interface

#include <java/nio/channels/spi/AbstractSelectableChannel.h>
extern "Java"
{
  namespace java
  {
    namespace net
    {
        class ServerSocket;
    }
    namespace nio
    {
      namespace channels
      {
          class ServerSocketChannel;
          class SocketChannel;
        namespace spi
        {
            class SelectorProvider;
        }
      }
    }
  }
}

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

public: // actually protected
  ServerSocketChannel(::java::nio::channels::spi::SelectorProvider *);
public:
  virtual ::java::nio::channels::SocketChannel * accept() = 0;
  virtual ::java::net::ServerSocket * socket() = 0;
  static ::java::nio::channels::ServerSocketChannel * open();
  virtual jint validOps();
  static ::java::lang::Class class$;
};

#endif // __java_nio_channels_ServerSocketChannel__