2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_net_InetAddress__
5 #define __java_net_InetAddress__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
23 class java::net::InetAddress
: public ::java::lang::Object
26 public: // actually package-private
27 InetAddress(JArray
< jbyte
> *, ::java::lang::String
*, jint
);
29 virtual jboolean
isMulticastAddress();
30 virtual jboolean
isAnyLocalAddress();
31 virtual jboolean
isLoopbackAddress();
32 virtual jboolean
isLinkLocalAddress();
33 virtual jboolean
isSiteLocalAddress();
34 virtual jboolean
isMCGlobal();
35 virtual jboolean
isMCNodeLocal();
36 virtual jboolean
isMCLinkLocal();
37 virtual jboolean
isMCSiteLocal();
38 virtual jboolean
isMCOrgLocal();
39 virtual ::java::lang::String
* getHostName();
40 public: // actually package-private
41 virtual ::java::lang::String
* internalGetCanonicalHostName();
43 virtual ::java::lang::String
* getCanonicalHostName();
44 virtual JArray
< jbyte
> * getAddress();
45 virtual ::java::lang::String
* getHostAddress();
46 virtual jint
hashCode();
47 virtual jboolean
equals(::java::lang::Object
*);
48 virtual ::java::lang::String
* toString();
49 static ::java::net::InetAddress
* getByAddress(JArray
< jbyte
> *);
50 static ::java::net::InetAddress
* getByAddress(::java::lang::String
*, JArray
< jbyte
> *);
51 public: // actually package-private
52 static ::java::net::InetAddress
* getByLiteral(::java::lang::String
*);
54 static ::java::net::InetAddress
* getByName(::java::lang::String
*);
55 static JArray
< ::java::net::InetAddress
* > * getAllByName(::java::lang::String
*);
56 static ::java::net::InetAddress
* getLocalHost();
58 ::java::lang::Object
* readResolve();
59 void readObject(::java::io::ObjectInputStream
*);
60 void writeObject(::java::io::ObjectOutputStream
*);
61 static const jlong serialVersionUID
= 3286316764910316507LL;
62 public: // actually package-private
63 static ::java::net::InetAddress
* ANY_IF
;
64 static ::java::net::InetAddress
* LOCALHOST
;
66 jint
__attribute__((aligned(__alignof__( ::java::lang::Object
)))) address
;
67 public: // actually package-private
68 JArray
< jbyte
> * addr
;
69 ::java::lang::String
* hostName
;
73 static ::java::lang::Class
class$
;
76 #endif // __java_net_InetAddress__