summaryrefslogtreecommitdiff
path: root/libjava/java/net/InetAddress.h
blob: 8cde4fb5daa58ebd9662a4e578e952e9d5a111ba (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
67
68
69
70
71
72
73
74
75
76
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_net_InetAddress__
#define __java_net_InetAddress__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace net
    {
        class InetAddress;
    }
  }
}

class java::net::InetAddress : public ::java::lang::Object
{

public: // actually package-private
  InetAddress(JArray< jbyte > *, ::java::lang::String *, jint);
public:
  virtual jboolean isMulticastAddress();
  virtual jboolean isAnyLocalAddress();
  virtual jboolean isLoopbackAddress();
  virtual jboolean isLinkLocalAddress();
  virtual jboolean isSiteLocalAddress();
  virtual jboolean isMCGlobal();
  virtual jboolean isMCNodeLocal();
  virtual jboolean isMCLinkLocal();
  virtual jboolean isMCSiteLocal();
  virtual jboolean isMCOrgLocal();
  virtual ::java::lang::String * getHostName();
public: // actually package-private
  virtual ::java::lang::String * internalGetCanonicalHostName();
public:
  virtual ::java::lang::String * getCanonicalHostName();
  virtual JArray< jbyte > * getAddress();
  virtual ::java::lang::String * getHostAddress();
  virtual jint hashCode();
  virtual jboolean equals(::java::lang::Object *);
  virtual ::java::lang::String * toString();
  static ::java::net::InetAddress * getByAddress(JArray< jbyte > *);
  static ::java::net::InetAddress * getByAddress(::java::lang::String *, JArray< jbyte > *);
public: // actually package-private
  static ::java::net::InetAddress * getByLiteral(::java::lang::String *);
public:
  static ::java::net::InetAddress * getByName(::java::lang::String *);
  static JArray< ::java::net::InetAddress * > * getAllByName(::java::lang::String *);
  static ::java::net::InetAddress * getLocalHost();
private:
  ::java::lang::Object * readResolve();
  void readObject(::java::io::ObjectInputStream *);
  void writeObject(::java::io::ObjectOutputStream *);
  static const jlong serialVersionUID = 3286316764910316507LL;
public: // actually package-private
  static ::java::net::InetAddress * ANY_IF;
  static ::java::net::InetAddress * LOCALHOST;
private:
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) address;
public: // actually package-private
  JArray< jbyte > * addr;
  ::java::lang::String * hostName;
private:
  jint family;
public:
  static ::java::lang::Class class$;
};

#endif // __java_net_InetAddress__