gcc/
[official-gcc.git] / libjava / java / net / Inet6Address.h
blob933a4780a18219dc5162ad1bef0c3ffce75e041f
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_net_Inet6Address__
5 #define __java_net_Inet6Address__
7 #pragma interface
9 #include <java/net/InetAddress.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace net
18 class Inet6Address;
19 class NetworkInterface;
24 class java::net::Inet6Address : public ::java::net::InetAddress
27 public: // actually package-private
28 Inet6Address(JArray< jbyte > *, ::java::lang::String *);
29 public:
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();
44 jint getScopeId();
45 ::java::lang::String * getHostAddress();
46 jint hashCode();
47 jboolean equals(::java::lang::Object *);
48 jboolean isIPv4CompatibleAddress();
49 private:
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;
55 private:
56 jint scope_id;
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;
62 public:
63 static ::java::lang::Class class$;
66 #endif // __java_net_Inet6Address__