1 /*
2  * Copyright (C) 2014 The Android Open Source Project
3  * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * This code is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 only, as
8  * published by the Free Software Foundation.  Oracle designates this
9  * particular file as subject to the "Classpath" exception as provided
10  * by Oracle in the LICENSE file that accompanied this code.
11  *
12  * This code is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15  * version 2 for more details (a copy is included in the LICENSE file that
16  * accompanied this code).
17  *
18  * You should have received a copy of the GNU General Public License version
19  * 2 along with this work; if not, write to the Free Software Foundation,
20  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21  *
22  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
23  * or visit www.oracle.com if you need additional information or have any
24  * questions.
25  */
26 
27 package java.net;
28 
29 @SuppressWarnings({"unchecked", "deprecation", "all"})
30 class Inet6AddressImpl implements java.net.InetAddressImpl {
31 
Inet6AddressImpl()32     Inet6AddressImpl() {
33         throw new RuntimeException("Stub!");
34     }
35 
lookupAllHostAddr(java.lang.String host, int netId)36     public java.net.InetAddress[] lookupAllHostAddr(java.lang.String host, int netId)
37             throws java.net.UnknownHostException {
38         throw new RuntimeException("Stub!");
39     }
40 
lookupHostByName(java.lang.String host, int netId)41     private static java.net.InetAddress[] lookupHostByName(java.lang.String host, int netId)
42             throws java.net.UnknownHostException {
43         throw new RuntimeException("Stub!");
44     }
45 
getHostByAddr(byte[] addr)46     public java.lang.String getHostByAddr(byte[] addr) throws java.net.UnknownHostException {
47         throw new RuntimeException("Stub!");
48     }
49 
clearAddressCache()50     public void clearAddressCache() {
51         throw new RuntimeException("Stub!");
52     }
53 
isReachable( java.net.InetAddress addr, int timeout, java.net.NetworkInterface netif, int ttl)54     public boolean isReachable(
55             java.net.InetAddress addr, int timeout, java.net.NetworkInterface netif, int ttl)
56             throws java.io.IOException {
57         throw new RuntimeException("Stub!");
58     }
59 
tcpEcho( java.net.InetAddress addr, int timeout, java.net.InetAddress sourceAddr, int ttl)60     private boolean tcpEcho(
61             java.net.InetAddress addr, int timeout, java.net.InetAddress sourceAddr, int ttl)
62             throws java.io.IOException {
63         throw new RuntimeException("Stub!");
64     }
65 
icmpEcho( java.net.InetAddress addr, int timeout, java.net.InetAddress sourceAddr, int ttl)66     protected boolean icmpEcho(
67             java.net.InetAddress addr, int timeout, java.net.InetAddress sourceAddr, int ttl)
68             throws java.io.IOException {
69         throw new RuntimeException("Stub!");
70     }
71 
anyLocalAddress()72     public java.net.InetAddress anyLocalAddress() {
73         throw new RuntimeException("Stub!");
74     }
75 
loopbackAddresses()76     public java.net.InetAddress[] loopbackAddresses() {
77         throw new RuntimeException("Stub!");
78     }
79 
getHostByAddr0(byte[] addr)80     private java.lang.String getHostByAddr0(byte[] addr) throws java.net.UnknownHostException {
81         throw new RuntimeException("Stub!");
82     }
83 
84     @android.compat.annotation.UnsupportedAppUsage
85     private static final java.net.AddressCache addressCache;
86 
87     static {
88         addressCache = null;
89     }
90 
91     private static java.net.InetAddress anyLocalAddress;
92 
93     private static java.net.InetAddress[] loopbackAddresses;
94 }
95