2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_net_Inet6Address__
5 #define __java_net_Inet6Address__
9 #include <java/net/InetAddress.h>
10 #include <gcj/array.h>
19 class NetworkInterface
;
24 class java::net::Inet6Address
: public ::java::net::InetAddress
27 public: // actually package-private
28 Inet6Address(JArray
< jbyte
> *, ::java::lang::String
*);
30 jboolean
isMulticastAddress();
31 jboolean
isAnyLocalAddress();
32 jboolean
isLoopbackAddress();
33 jboolean
isLinkLocalAddress();
34 jboolean
isSiteLocalAddress();
35 jboolean
isMCGlobal();
36 jboolean
isMCNodeLocal();
37 jboolean
isMCLinkLocal();
38 jboolean
isMCSiteLocal();
39 jboolean
isMCOrgLocal();
40 JArray
< jbyte
> * getAddress();
41 static ::java::net::Inet6Address
* getByAddress(::java::lang::String
*, JArray
< jbyte
> *, jint
);
42 static ::java::net::Inet6Address
* getByAddress(::java::lang::String
*, JArray
< jbyte
> *, ::java::net::NetworkInterface
*);
43 ::java::net::NetworkInterface
* getScopedInterface();
45 ::java::lang::String
* getHostAddress();
47 jboolean
equals(::java::lang::Object
*);
48 jboolean
isIPv4CompatibleAddress();
50 void readObject(::java::io::ObjectInputStream
*);
51 void writeObject(::java::io::ObjectOutputStream
*);
52 public: // actually package-private
53 static const jlong serialVersionUID
= 6880410070516793377LL;
54 JArray
< jbyte
> * __attribute__((aligned(__alignof__( ::java::net::InetAddress
)))) ipaddress
;
57 jboolean scope_id_set
;
58 jboolean scope_ifname_set
;
59 ::java::lang::String
* ifname
;
60 ::java::net::NetworkInterface
* nif
;
61 static const jint AF_INET6
= 10;
63 static ::java::lang::Class
class$
;
66 #endif // __java_net_Inet6Address__