summaryrefslogtreecommitdiff
path: root/libjava/java/net/Inet6Address.h
blob: 933a4780a18219dc5162ad1bef0c3ffce75e041f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_net_Inet6Address__
#define __java_net_Inet6Address__

#pragma interface

#include <java/net/InetAddress.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace net
    {
        class Inet6Address;
        class NetworkInterface;
    }
  }
}

class java::net::Inet6Address : public ::java::net::InetAddress
{

public: // actually package-private
  Inet6Address(JArray< jbyte > *, ::java::lang::String *);
public:
  jboolean isMulticastAddress();
  jboolean isAnyLocalAddress();
  jboolean isLoopbackAddress();
  jboolean isLinkLocalAddress();
  jboolean isSiteLocalAddress();
  jboolean isMCGlobal();
  jboolean isMCNodeLocal();
  jboolean isMCLinkLocal();
  jboolean isMCSiteLocal();
  jboolean isMCOrgLocal();
  JArray< jbyte > * getAddress();
  static ::java::net::Inet6Address * getByAddress(::java::lang::String *, JArray< jbyte > *, jint);
  static ::java::net::Inet6Address * getByAddress(::java::lang::String *, JArray< jbyte > *, ::java::net::NetworkInterface *);
  ::java::net::NetworkInterface * getScopedInterface();
  jint getScopeId();
  ::java::lang::String * getHostAddress();
  jint hashCode();
  jboolean equals(::java::lang::Object *);
  jboolean isIPv4CompatibleAddress();
private:
  void readObject(::java::io::ObjectInputStream *);
  void writeObject(::java::io::ObjectOutputStream *);
public: // actually package-private
  static const jlong serialVersionUID = 6880410070516793377LL;
  JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::net::InetAddress)))) ipaddress;
private:
  jint scope_id;
  jboolean scope_id_set;
  jboolean scope_ifname_set;
  ::java::lang::String * ifname;
  ::java::net::NetworkInterface * nif;
  static const jint AF_INET6 = 10;
public:
  static ::java::lang::Class class$;
};

#endif // __java_net_Inet6Address__