summaryrefslogtreecommitdiff
path: root/libjava/java/net/NetworkInterface.h
blob: 66898a2129fb5a2874eaa2b30eb598e7b792294b (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_net_NetworkInterface__
#define __java_net_NetworkInterface__

#pragma interface

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

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

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

public: // actually package-private
  NetworkInterface(::java::lang::String *, ::java::net::InetAddress *);
  NetworkInterface(::java::lang::String *, JArray< ::java::net::InetAddress * > *);
public:
  ::java::lang::String * getName();
  ::java::util::Enumeration * getInetAddresses();
  ::java::lang::String * getDisplayName();
  static ::java::net::NetworkInterface * getByName(::java::lang::String *);
  static ::java::net::NetworkInterface * getByInetAddress(::java::net::InetAddress *);
private:
  static ::java::util::Collection * condense(::java::util::Collection *);
public:
  static ::java::util::Enumeration * getNetworkInterfaces();
  jboolean equals(::java::lang::Object *);
  jint hashCode();
  ::java::lang::String * toString();
private:
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
  ::java::util::Vector * inetAddresses;
public:
  static ::java::lang::Class class$;
};

#endif // __java_net_NetworkInterface__