aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java/nio/natServerSocketChannelImpl.cc
blob: a4b1ba4df01741c175d9ed7277c3837b3e63c11f (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
// natServerSocketChannelImpl.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 <errno.h>
#include <string.h>

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

void
gnu::java::nio::ServerSocketChannelImpl::initServerSocket()
{
  serverSocket = new ::java::net::ServerSocket (impl);
}