mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-19 03:05:15 +00:00
52 lines
1.2 KiB
C++
52 lines
1.2 KiB
C++
|
|
// 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__
|