summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/nio/natNIOServerSocket.cc
blob: 2d3fb2db7605a4c4ec4614b6ec8ecdc00a9a878f (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
// natNIOServerSocket.cc

/* Copyright (C) 2003  Free Software Foundation

   This file is part of libgcj.

This software is copyrighted work licensed under the terms of the
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
details.  */

#include <config.h>
#include <platform.h>

#include <gnu/java/net/PlainSocketImpl.h>
#include <gnu/java/nio/NIOServerSocket.h>
#include <java/net/ServerSocket.h>
#include <java/net/SocketImpl.h>

gnu::java::net::PlainSocketImpl*
gnu::java::nio::NIOServerSocket::getPlainSocketImpl()
{
  return (gnu::java::net::PlainSocketImpl*)
    ::java::net::ServerSocket::getImpl();
}