Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / gnu / java / nio / NIOServerSocket.h
blob908a664af76bac681e7631efc03f948e864e31b3
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_java_nio_NIOServerSocket__
5 #define __gnu_java_nio_NIOServerSocket__
7 #pragma interface
9 #include <java/net/ServerSocket.h>
10 extern "Java"
12 namespace gnu
14 namespace java
16 namespace net
18 class PlainSocketImpl;
20 namespace nio
22 class NIOServerSocket;
23 class ServerSocketChannelImpl;
27 namespace java
29 namespace net
31 class Socket;
33 namespace nio
35 namespace channels
37 class ServerSocketChannel;
43 class gnu::java::nio::NIOServerSocket : public ::java::net::ServerSocket
46 public: // actually protected
47 NIOServerSocket(::gnu::java::nio::ServerSocketChannelImpl *);
48 public:
49 ::gnu::java::net::PlainSocketImpl * getPlainSocketImpl();
50 ::java::nio::channels::ServerSocketChannel * getChannel();
51 ::java::net::Socket * accept();
52 private:
53 ::gnu::java::nio::ServerSocketChannelImpl * __attribute__((aligned(__alignof__( ::java::net::ServerSocket)))) channel;
54 public:
55 static ::java::lang::Class class$;
58 #endif // __gnu_java_nio_NIOServerSocket__