OSDN Git Service

2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / libjava / java / net / natPlainSocketImplNoNet.cc
1 /* Copyright (C) 2003 Free Software Foundation
2
3    This file is part of libgcj.
4
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
7 details.  */
8
9 #include <config.h>
10 #include <platform.h>
11
12 #include <java/io/IOException.h>
13 #include <java/net/BindException.h>
14 #include <java/net/ConnectException.h>
15 #include <java/net/PlainSocketImpl.h>
16 #include <java/net/SocketException.h>
17
18 void
19 java::net::PlainSocketImpl::create (jboolean)
20 {
21   throw new java::io::IOException (
22     JvNewStringLatin1 ("SocketImpl.create: unimplemented"));
23 }
24
25 void
26 java::net::PlainSocketImpl::bind (java::net::InetAddress *, jint)
27 {
28   throw new BindException (
29     JvNewStringLatin1 ("SocketImpl.bind: unimplemented"));
30 }
31
32 void
33 java::net::PlainSocketImpl::connect (java::net::SocketAddress *, jint)
34 {
35   throw new ConnectException (
36     JvNewStringLatin1 ("SocketImpl.connect: unimplemented"));
37 }
38
39 void
40 java::net::PlainSocketImpl::listen (jint)
41 {
42   throw new java::io::IOException (
43     JvNewStringLatin1 ("SocketImpl.listen: unimplemented"));
44 }
45
46 void
47 java::net::PlainSocketImpl::accept (java::net::PlainSocketImpl *)
48 {
49   throw new java::io::IOException (
50     JvNewStringLatin1 ("SocketImpl.accept: unimplemented"));
51 }
52
53 void
54 java::net::PlainSocketImpl::setOption (jint, java::lang::Object *)
55 {
56   throw new SocketException (
57     JvNewStringLatin1 ("SocketImpl.setOption: unimplemented"));
58 }
59
60 java::lang::Object *
61 java::net::PlainSocketImpl::getOption (jint)
62 {
63   throw new SocketException (
64     JvNewStringLatin1 ("SocketImpl.getOption: unimplemented"));
65 }
66
67 jint
68 java::net::PlainSocketImpl::read(void)
69 {
70   throw new SocketException (
71     JvNewStringLatin1 ("SocketImpl.read: unimplemented"));
72 }
73
74 jint
75 java::net::PlainSocketImpl::read(jbyteArray buffer, jint offset, jint count)
76 {
77   throw new SocketException (
78     JvNewStringLatin1 ("SocketImpl.read: unimplemented"));
79 }
80
81 void
82 java::net::PlainSocketImpl::write(jint b)
83 {
84   throw new SocketException (
85     JvNewStringLatin1 ("SocketImpl.write: unimplemented"));
86 }
87
88 void
89 java::net::PlainSocketImpl::write(jbyteArray b, jint offset, jint len)
90 {
91   throw new SocketException (
92     JvNewStringLatin1 ("SocketImpl.write: unimplemented"));
93 }
94
95 void
96 java::net::PlainSocketImpl::sendUrgentData(jint data)
97 {
98   throw new SocketException (
99     JvNewStringLatin1 ("SocketImpl.sendUrgentData: unimplemented"));
100 }
101
102 jint
103 java::net::PlainSocketImpl::available(void)
104 {
105   throw new SocketException (
106     JvNewStringLatin1 ("SocketImpl.available: unimplemented"));
107 }
108
109 void
110 java::net::PlainSocketImpl::close(void)
111 {
112   throw new SocketException (
113     JvNewStringLatin1 ("SocketImpl.close: unimplemented"));
114 }
115
116 void
117 java::net::PlainSocketImpl::shutdownInput (void)
118 {
119   throw new SocketException (
120     JvNewStringLatin1 ("SocketImpl.shutdownInput: unimplemented"));
121 }
122
123 void
124 java::net::PlainSocketImpl::shutdownOutput (void)
125 {
126   throw new SocketException (
127     JvNewStringLatin1 ("SocketImpl.shutdownOutput: unimplemented"));
128 }