1 /* Copyright (C) 2003 Free Software Foundation
3 This file is part of libgcj.
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
12 #include <java/io/IOException.h>
13 #include <java/lang/Object.h>
14 #include <java/net/BindException.h>
15 #include <java/net/DatagramPacket.h>
16 #include <java/net/InetAddress.h>
17 #include <java/net/NetworkInterface.h>
18 #include <java/net/PlainDatagramSocketImpl.h>
19 #include <java/net/SocketException.h>
22 java::net::PlainDatagramSocketImpl::create ()
24 throw new SocketException (
25 JvNewStringLatin1 ("DatagramSocketImpl.create: unimplemented"));
29 java::net::PlainDatagramSocketImpl::bind (jint, java::net::InetAddress *)
31 throw new BindException (
32 JvNewStringLatin1 ("DatagramSocketImpl.bind: unimplemented"));
36 java::net::PlainDatagramSocketImpl::connect (java::net::InetAddress *, jint)
38 throw new SocketException (
39 JvNewStringLatin1 ("DatagramSocketImpl.connect: unimplemented"));
43 java::net::PlainDatagramSocketImpl::disconnect ()
45 throw new SocketException (
46 JvNewStringLatin1 ("DatagramSocketImpl.disconnect: unimplemented"));
50 java::net::PlainDatagramSocketImpl::peek (java::net::InetAddress *)
52 throw new java::io::IOException (
53 JvNewStringLatin1 ("DatagramSocketImpl.peek: unimplemented"));
57 java::net::PlainDatagramSocketImpl::peekData(java::net::DatagramPacket *)
59 throw new java::io::IOException (
60 JvNewStringLatin1 ("DatagramSocketImpl.peekData: unimplemented"));
64 java::net::PlainDatagramSocketImpl::close ()
66 throw new java::io::IOException (
67 JvNewStringLatin1 ("DatagramSocketImpl.close: unimplemented"));
71 java::net::PlainDatagramSocketImpl::send (java::net::DatagramPacket *)
73 throw new java::io::IOException (
74 JvNewStringLatin1 ("DatagramSocketImpl.send: unimplemented"));
78 java::net::PlainDatagramSocketImpl::receive (java::net::DatagramPacket *)
80 throw new java::io::IOException (
81 JvNewStringLatin1 ("DatagramSocketImpl.receive: unimplemented"));
85 java::net::PlainDatagramSocketImpl::setTimeToLive (jint)
87 throw new java::io::IOException (
88 JvNewStringLatin1 ("DatagramSocketImpl.setTimeToLive: unimplemented"));
92 java::net::PlainDatagramSocketImpl::getTimeToLive ()
94 throw new java::io::IOException (
95 JvNewStringLatin1 ("DatagramSocketImpl.getTimeToLive: unimplemented"));
99 java::net::PlainDatagramSocketImpl::mcastGrp (java::net::InetAddress *,
100 java::net::NetworkInterface *,
103 throw new java::io::IOException (
104 JvNewStringLatin1 ("DatagramSocketImpl.mcastGrp: unimplemented"));
108 java::net::PlainDatagramSocketImpl::setOption (jint, java::lang::Object *)
110 throw new SocketException (
111 JvNewStringLatin1 ("DatagramSocketImpl.setOption: unimplemented"));
115 java::net::PlainDatagramSocketImpl::getOption (jint)
117 throw new SocketException (
118 JvNewStringLatin1 ("DatagramSocketImpl.getOption: unimplemented"));