OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / java / nio / natNIOServerSocket.cc
1 // natNIOServerSocket.cc
2
3 /* Copyright (C) 2003  Free Software Foundation
4
5    This file is part of libgcj.
6
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
9 details.  */
10
11 #include <config.h>
12 #include <platform.h>
13
14 #include <gnu/java/net/PlainSocketImpl.h>
15 #include <gnu/java/nio/NIOServerSocket.h>
16 #include <java/net/ServerSocket.h>
17 #include <java/net/SocketImpl.h>
18
19 gnu::java::net::PlainSocketImpl*
20 gnu::java::nio::NIOServerSocket::getPlainSocketImpl()
21 {
22   return (gnu::java::net::PlainSocketImpl*)
23     ::java::net::ServerSocket::getImpl();
24 }