1"======================================================================
2|
3|   Java run-time support.  java.net.InetAddress native methods.
4|
5|
6 ======================================================================"
7
8
9"======================================================================
10|
11| Copyright 2003 Free Software Foundation, Inc.
12| Written by Paolo Bonzini.
13|
14| This file is part of GNU Smalltalk.
15|
16| The GNU Smalltalk class library is free software; you can redistribute it
17| and/or modify it under the terms of the GNU General Public License
18| as published by the Free Software Foundation; either version 2, or (at
19| your option) any later version.
20|
21| The GNU Smalltalk class library is distributed in the hope that it will be
22| useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
23| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
24| Public License for more details.
25|
26| You should have received a copy of the GNU Lesser General Public License
27| along with the GNU Smalltalk class library; see the file COPYING.  If not,
28| write to the Free Software Foundation, 51 Franklin Street, Fifth Floor,
29| Boston, MA 02110-1301, USA.
30|
31 ======================================================================"
32
33
34!JavaVM methodsFor: 'java.net.InetAddress'!
35
36java_net_InetAddress_aton_java_lang_String: arg1
37    <javaNativeMethod: #'aton(Ljava/lang/String;)[B'
38        for: #{Java.java.net.InetAddress} static: true>
39    self notYetImplemented
40!
41
42java_net_InetAddress_lookup_java_lang_String: arg1 java_net_InetAddress: arg2 boolean: arg3
43    <javaNativeMethod: #'lookup(Ljava/lang/String;Ljava/net/InetAddress;Z)[Ljava/net/InetAddress;'
44        for: #{Java.java.net.InetAddress} static: true>
45    self notYetImplemented
46!
47
48java_net_InetAddress_getFamily_byteArray: arg1
49    <javaNativeMethod: #'getFamily([B)I'
50        for: #{Java.java.net.InetAddress} static: true>
51    self notYetImplemented
52!
53
54java_net_InetAddress_getLocalHostname
55    <javaNativeMethod: #'getLocalHostname()Ljava/lang/String;'
56        for: #{Java.java.net.InetAddress} static: true>
57    self notYetImplemented
58! !
59
60