blob: d274d235c05dd38d9c9e585d76dfcc059816531f (
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
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_net_ResolverCache__
#define __java_net_ResolverCache__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace net
{
class ResolverCache;
class ResolverCache$Entry;
}
}
}
class java::net::ResolverCache : public ::java::lang::Object
{
public: // actually package-private
ResolverCache();
private:
static jint getTTL(::java::lang::String *, jint);
public:
static ::java::lang::String * getHostByAddr(JArray< jbyte > *);
static JArray< JArray< jbyte > * > * getHostByName(::java::lang::String *);
private:
static ::java::lang::Object * makeHashableAddress(JArray< jbyte > *);
static ::java::net::ResolverCache$Entry * get(::java::lang::Object *);
static void put(::java::net::ResolverCache$Entry *);
static void reap();
public: // actually package-private
static jint access$0();
static jint access$1();
private:
static jint POSITIVE_TTL;
static jint NEGATIVE_TTL;
static ::java::util::HashMap * cache;
static ::java::util::LinkedList * killqueue;
public:
static ::java::lang::Class class$;
};
#endif // __java_net_ResolverCache__
|