summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/rmi/server
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/java/rmi/server
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/gnu/java/rmi/server')
-rw-r--r--libjava/gnu/java/rmi/server/ActivatableRef.h65
-rw-r--r--libjava/gnu/java/rmi/server/ActivatableServerRef.h67
-rw-r--r--libjava/gnu/java/rmi/server/CombinedClassLoader.h51
-rw-r--r--libjava/gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h44
-rw-r--r--libjava/gnu/java/rmi/server/ConnectionRunnerPool.h53
-rw-r--r--libjava/gnu/java/rmi/server/ProtocolConstants.h49
-rw-r--r--libjava/gnu/java/rmi/server/RMIClassLoaderImpl$CacheKey.h45
-rw-r--r--libjava/gnu/java/rmi/server/RMIClassLoaderImpl$MyClassLoader.h50
-rw-r--r--libjava/gnu/java/rmi/server/RMIClassLoaderImpl.h65
-rw-r--r--libjava/gnu/java/rmi/server/RMIDefaultSocketFactory.h45
-rw-r--r--libjava/gnu/java/rmi/server/RMIHashes.h37
-rw-r--r--libjava/gnu/java/rmi/server/RMIIncomingThread.h40
-rw-r--r--libjava/gnu/java/rmi/server/RMIObjectInputStream.h43
-rw-r--r--libjava/gnu/java/rmi/server/RMIObjectOutputStream.h42
-rw-r--r--libjava/gnu/java/rmi/server/RMIVoidValue.h37
-rw-r--r--libjava/gnu/java/rmi/server/TripleKey.h44
-rw-r--r--libjava/gnu/java/rmi/server/UnicastConnection.h67
-rw-r--r--libjava/gnu/java/rmi/server/UnicastConnectionManager$1.h37
-rw-r--r--libjava/gnu/java/rmi/server/UnicastConnectionManager.h94
-rw-r--r--libjava/gnu/java/rmi/server/UnicastRef.h91
-rw-r--r--libjava/gnu/java/rmi/server/UnicastRemoteCall$DummyObjectInputStream.h64
-rw-r--r--libjava/gnu/java/rmi/server/UnicastRemoteCall$DummyObjectOutputStream.h59
-rw-r--r--libjava/gnu/java/rmi/server/UnicastRemoteCall.h81
-rw-r--r--libjava/gnu/java/rmi/server/UnicastRemoteStub.h47
-rw-r--r--libjava/gnu/java/rmi/server/UnicastServer.h74
-rw-r--r--libjava/gnu/java/rmi/server/UnicastServerRef.h80
26 files changed, 1471 insertions, 0 deletions
diff --git a/libjava/gnu/java/rmi/server/ActivatableRef.h b/libjava/gnu/java/rmi/server/ActivatableRef.h
new file mode 100644
index 000000000..6a9025ae7
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/ActivatableRef.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_ActivatableRef__
+#define __gnu_java_rmi_server_ActivatableRef__
+
+#pragma interface
+
+#include <gnu/java/rmi/server/UnicastRef.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class ActivatableRef;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace rmi
+ {
+ class Remote;
+ namespace activation
+ {
+ class ActivationID;
+ }
+ namespace server
+ {
+ class ObjID;
+ class RMIClientSocketFactory;
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::ActivatableRef : public ::gnu::java::rmi::server::UnicastRef
+{
+
+public:
+ ActivatableRef();
+ ActivatableRef(::java::rmi::server::ObjID *, ::java::lang::String *, jint, ::java::rmi::server::RMIClientSocketFactory *);
+ ActivatableRef(::java::rmi::server::ObjID *);
+ virtual ::java::lang::String * getRefClass(::java::io::ObjectOutput *);
+ virtual void readExternal(::java::io::ObjectInput *);
+ virtual void writeExternal(::java::io::ObjectOutput *);
+public: // actually protected
+ virtual ::java::lang::Object * invokeCommon(::java::rmi::Remote *, ::java::lang::reflect::Method *, JArray< ::java::lang::Object * > *, jint, jlong);
+private:
+ static const jlong serialVersionUID = 1LL;
+public: // actually package-private
+ ::java::rmi::activation::ActivationID * __attribute__((aligned(__alignof__( ::gnu::java::rmi::server::UnicastRef)))) actId;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_ActivatableRef__
diff --git a/libjava/gnu/java/rmi/server/ActivatableServerRef.h b/libjava/gnu/java/rmi/server/ActivatableServerRef.h
new file mode 100644
index 000000000..5241331e9
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/ActivatableServerRef.h
@@ -0,0 +1,67 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_ActivatableServerRef__
+#define __gnu_java_rmi_server_ActivatableServerRef__
+
+#pragma interface
+
+#include <gnu/java/rmi/server/UnicastServerRef.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class ActivatableServerRef;
+ class UnicastConnection;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace rmi
+ {
+ class Remote;
+ namespace activation
+ {
+ class ActivationID;
+ }
+ namespace server
+ {
+ class ObjID;
+ class RMIServerSocketFactory;
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::ActivatableServerRef : public ::gnu::java::rmi::server::UnicastServerRef
+{
+
+public:
+ ActivatableServerRef();
+ ActivatableServerRef(::java::rmi::server::ObjID *, ::java::rmi::activation::ActivationID *, jint, ::java::rmi::server::RMIServerSocketFactory *);
+ virtual void inactivate();
+public: // actually protected
+ virtual void activate();
+public:
+ virtual ::java::lang::Object * incomingMessageCall(::gnu::java::rmi::server::UnicastConnection *, jint, jlong);
+ virtual ::java::rmi::Remote * exportObject(::java::rmi::Remote *);
+ virtual ::java::rmi::Remote * exportClass(::java::lang::Class *);
+ virtual ::java::lang::String * getRefClass(::java::io::ObjectOutput *);
+ virtual void readExternal(::java::io::ObjectInput *);
+ virtual void writeExternal(::java::io::ObjectOutput *);
+private:
+ static const jlong serialVersionUID = 1LL;
+public:
+ ::java::rmi::activation::ActivationID * __attribute__((aligned(__alignof__( ::gnu::java::rmi::server::UnicastServerRef)))) actId;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_ActivatableServerRef__
diff --git a/libjava/gnu/java/rmi/server/CombinedClassLoader.h b/libjava/gnu/java/rmi/server/CombinedClassLoader.h
new file mode 100644
index 000000000..5d4c6c9e6
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/CombinedClassLoader.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_CombinedClassLoader__
+#define __gnu_java_rmi_server_CombinedClassLoader__
+
+#pragma interface
+
+#include <java/lang/ClassLoader.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class CombinedClassLoader;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::rmi::server::CombinedClassLoader : public ::java::lang::ClassLoader
+{
+
+public:
+ CombinedClassLoader(::java::util::Collection *);
+public: // actually protected
+ virtual ::java::lang::Class * findClass(::java::lang::String *);
+ virtual ::java::net::URL * findResource(::java::lang::String *);
+ virtual ::java::util::Enumeration * findResources(::java::lang::String *);
+public: // actually package-private
+ JArray< ::java::lang::ClassLoader * > * __attribute__((aligned(__alignof__( ::java::lang::ClassLoader)))) loaders;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_CombinedClassLoader__
diff --git a/libjava/gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h b/libjava/gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h
new file mode 100644
index 000000000..664fc4e12
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_ConnectionRunnerPool$ConnectionRunner__
+#define __gnu_java_rmi_server_ConnectionRunnerPool$ConnectionRunner__
+
+#pragma interface
+
+#include <java/lang/Thread.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class ConnectionRunnerPool$ConnectionRunner;
+ class UnicastConnection;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::ConnectionRunnerPool$ConnectionRunner : public ::java::lang::Thread
+{
+
+public:
+ ConnectionRunnerPool$ConnectionRunner(::java::lang::ThreadGroup *, ::java::lang::String *);
+ virtual void run();
+ virtual void dispatch(::gnu::java::rmi::server::UnicastConnection *);
+public: // actually package-private
+ virtual void exit();
+private:
+ ::gnu::java::rmi::server::UnicastConnection * __attribute__((aligned(__alignof__( ::java::lang::Thread)))) conn;
+ jboolean volatile exiting;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_ConnectionRunnerPool$ConnectionRunner__
diff --git a/libjava/gnu/java/rmi/server/ConnectionRunnerPool.h b/libjava/gnu/java/rmi/server/ConnectionRunnerPool.h
new file mode 100644
index 000000000..eccfb3836
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/ConnectionRunnerPool.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_ConnectionRunnerPool__
+#define __gnu_java_rmi_server_ConnectionRunnerPool__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class ConnectionRunnerPool;
+ class ConnectionRunnerPool$ConnectionRunner;
+ class UnicastConnection;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::ConnectionRunnerPool : public ::java::lang::Object
+{
+
+public: // actually package-private
+ ConnectionRunnerPool();
+public:
+ static void setSize(jint);
+ static void setMaxSize(jint);
+private:
+ static ::gnu::java::rmi::server::ConnectionRunnerPool$ConnectionRunner * getConnectionRunner();
+public:
+ static void dispatchConnection(::gnu::java::rmi::server::UnicastConnection *);
+ static void exit();
+private:
+ static jint size;
+ static jint max_size;
+public: // actually package-private
+ static ::java::util::ArrayList * freelist;
+private:
+ static ::java::lang::ThreadGroup * group;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_ConnectionRunnerPool__
diff --git a/libjava/gnu/java/rmi/server/ProtocolConstants.h b/libjava/gnu/java/rmi/server/ProtocolConstants.h
new file mode 100644
index 000000000..d9b08e7f9
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/ProtocolConstants.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_ProtocolConstants__
+#define __gnu_java_rmi_server_ProtocolConstants__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class ProtocolConstants;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::ProtocolConstants : public ::java::lang::Object
+{
+
+public:
+ static const jint PROTOCOL_HEADER = 1246907721;
+ static const jint PROTOCOL_VERSION = 2;
+ static const jint STREAM_PROTOCOL = 75;
+ static const jint SINGLE_OP_PROTOCOL = 76;
+ static const jint MULTIPLEX_PROTOCOL = 77;
+ static const jint PROTOCOL_ACK = 78;
+ static const jint PROTOCOL_NACK = 79;
+ static const jint MESSAGE_CALL = 80;
+ static const jint MESSAGE_CALL_ACK = 81;
+ static const jint MESSAGE_PING = 82;
+ static const jint MESSAGE_PING_ACK = 83;
+ static const jint MESSAGE_DGCACK = 84;
+ static const jint RETURN_ACK = 1;
+ static const jint RETURN_NACK = 2;
+ static const jint DEFAULT_PROTOCOL = 75;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_java_rmi_server_ProtocolConstants__
diff --git a/libjava/gnu/java/rmi/server/RMIClassLoaderImpl$CacheKey.h b/libjava/gnu/java/rmi/server/RMIClassLoaderImpl$CacheKey.h
new file mode 100644
index 000000000..4afe17039
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/RMIClassLoaderImpl$CacheKey.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_RMIClassLoaderImpl$CacheKey__
+#define __gnu_java_rmi_server_RMIClassLoaderImpl$CacheKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIClassLoaderImpl$CacheKey;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::RMIClassLoaderImpl$CacheKey : public ::java::lang::Object
+{
+
+public:
+ RMIClassLoaderImpl$CacheKey(::java::lang::String *, ::java::lang::ClassLoader *);
+ virtual jboolean equals(::java::lang::Object *);
+private:
+ jboolean equals(::java::lang::Object *, ::java::lang::Object *);
+public:
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mCodeBase;
+ ::java::lang::ClassLoader * mContextClassLoader;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_RMIClassLoaderImpl$CacheKey__
diff --git a/libjava/gnu/java/rmi/server/RMIClassLoaderImpl$MyClassLoader.h b/libjava/gnu/java/rmi/server/RMIClassLoaderImpl$MyClassLoader.h
new file mode 100644
index 000000000..ed9b9364b
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/RMIClassLoaderImpl$MyClassLoader.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_RMIClassLoaderImpl$MyClassLoader__
+#define __gnu_java_rmi_server_RMIClassLoaderImpl$MyClassLoader__
+
+#pragma interface
+
+#include <java/net/URLClassLoader.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIClassLoaderImpl$MyClassLoader;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+}
+
+class gnu::java::rmi::server::RMIClassLoaderImpl$MyClassLoader : public ::java::net::URLClassLoader
+{
+
+public: // actually package-private
+ RMIClassLoaderImpl$MyClassLoader(JArray< ::java::net::URL * > *, ::java::lang::ClassLoader *, ::java::lang::String *);
+public:
+ static ::java::lang::String * urlToAnnotation(JArray< ::java::net::URL * > *);
+ virtual ::java::lang::String * getClassAnnotation();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::net::URLClassLoader)))) annotation;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_RMIClassLoaderImpl$MyClassLoader__
diff --git a/libjava/gnu/java/rmi/server/RMIClassLoaderImpl.h b/libjava/gnu/java/rmi/server/RMIClassLoaderImpl.h
new file mode 100644
index 000000000..abcb8fc69
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/RMIClassLoaderImpl.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_RMIClassLoaderImpl__
+#define __gnu_java_rmi_server_RMIClassLoaderImpl__
+
+#pragma interface
+
+#include <java/rmi/server/RMIClassLoaderSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIClassLoaderImpl;
+ class RMIClassLoaderImpl$MyClassLoader;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIClassLoaderSpi;
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::RMIClassLoaderImpl : public ::java::rmi::server::RMIClassLoaderSpi
+{
+
+ RMIClassLoaderImpl();
+public:
+ static ::java::rmi::server::RMIClassLoaderSpi * getInstance();
+ virtual ::java::lang::Class * loadClass(::java::lang::String *, ::java::lang::String *, ::java::lang::ClassLoader *);
+ virtual ::java::lang::Class * loadProxyClass(::java::lang::String *, JArray< ::java::lang::String * > *, ::java::lang::ClassLoader *);
+ virtual ::java::lang::ClassLoader * getClassLoader(::java::lang::String *);
+ virtual ::java::lang::String * getClassAnnotation(::java::lang::Class *);
+private:
+ static ::gnu::java::rmi::server::RMIClassLoaderImpl * instance;
+ static ::java::util::Map * cacheLoaders;
+ static ::java::util::Map * cacheAnnotations;
+ static ::gnu::java::rmi::server::RMIClassLoaderImpl$MyClassLoader * defaultClassLoader;
+ static ::java::lang::String * defaultAnnotation;
+ static ::java::net::URL * defaultCodebase;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_RMIClassLoaderImpl__
diff --git a/libjava/gnu/java/rmi/server/RMIDefaultSocketFactory.h b/libjava/gnu/java/rmi/server/RMIDefaultSocketFactory.h
new file mode 100644
index 000000000..32da29512
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/RMIDefaultSocketFactory.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_RMIDefaultSocketFactory__
+#define __gnu_java_rmi_server_RMIDefaultSocketFactory__
+
+#pragma interface
+
+#include <java/rmi/server/RMISocketFactory.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIDefaultSocketFactory;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class ServerSocket;
+ class Socket;
+ }
+ }
+}
+
+class gnu::java::rmi::server::RMIDefaultSocketFactory : public ::java::rmi::server::RMISocketFactory
+{
+
+public:
+ RMIDefaultSocketFactory();
+ virtual ::java::net::Socket * createSocket(::java::lang::String *, jint);
+ virtual ::java::net::ServerSocket * createServerSocket(jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_RMIDefaultSocketFactory__
diff --git a/libjava/gnu/java/rmi/server/RMIHashes.h b/libjava/gnu/java/rmi/server/RMIHashes.h
new file mode 100644
index 000000000..0bb00ec11
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/RMIHashes.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_RMIHashes__
+#define __gnu_java_rmi_server_RMIHashes__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIHashes;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::RMIHashes : public ::java::lang::Object
+{
+
+public:
+ RMIHashes();
+ static jlong getMethodHash(::java::lang::reflect::Method *);
+ static jlong getInterfaceHash(::java::lang::Class *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_RMIHashes__
diff --git a/libjava/gnu/java/rmi/server/RMIIncomingThread.h b/libjava/gnu/java/rmi/server/RMIIncomingThread.h
new file mode 100644
index 000000000..5938877f2
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/RMIIncomingThread.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_RMIIncomingThread__
+#define __gnu_java_rmi_server_RMIIncomingThread__
+
+#pragma interface
+
+#include <java/lang/Thread.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIIncomingThread;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::RMIIncomingThread : public ::java::lang::Thread
+{
+
+public:
+ RMIIncomingThread(::java::lang::Runnable *, ::java::lang::String *);
+ virtual ::java::lang::String * toString();
+ virtual ::java::lang::String * getClientHost();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Thread)))) clientHost;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_RMIIncomingThread__
diff --git a/libjava/gnu/java/rmi/server/RMIObjectInputStream.h b/libjava/gnu/java/rmi/server/RMIObjectInputStream.h
new file mode 100644
index 000000000..3af69a288
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/RMIObjectInputStream.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_RMIObjectInputStream__
+#define __gnu_java_rmi_server_RMIObjectInputStream__
+
+#pragma interface
+
+#include <java/io/ObjectInputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIObjectInputStream;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::RMIObjectInputStream : public ::java::io::ObjectInputStream
+{
+
+public:
+ RMIObjectInputStream(::java::io::InputStream *);
+public: // actually protected
+ virtual ::java::lang::Class * resolveClass(::java::io::ObjectStreamClass *);
+ virtual ::java::lang::Object * getAnnotation();
+ virtual ::java::lang::Class * resolveProxyClass(JArray< ::java::lang::String * > *);
+ virtual ::java::lang::Object * readValue(::java::lang::Class *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_RMIObjectInputStream__
diff --git a/libjava/gnu/java/rmi/server/RMIObjectOutputStream.h b/libjava/gnu/java/rmi/server/RMIObjectOutputStream.h
new file mode 100644
index 000000000..6f6382d94
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/RMIObjectOutputStream.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_RMIObjectOutputStream__
+#define __gnu_java_rmi_server_RMIObjectOutputStream__
+
+#pragma interface
+
+#include <java/io/ObjectOutputStream.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIObjectOutputStream;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::RMIObjectOutputStream : public ::java::io::ObjectOutputStream
+{
+
+public:
+ RMIObjectOutputStream(::java::io::OutputStream *);
+public: // actually protected
+ virtual void setAnnotation(::java::lang::String *);
+ virtual void annotateClass(::java::lang::Class *);
+ virtual void annotateProxyClass(::java::lang::Class *);
+ virtual ::java::lang::Object * replaceObject(::java::lang::Object *);
+ virtual void writeValue(::java::lang::Object *, ::java::lang::Class *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_RMIObjectOutputStream__
diff --git a/libjava/gnu/java/rmi/server/RMIVoidValue.h b/libjava/gnu/java/rmi/server/RMIVoidValue.h
new file mode 100644
index 000000000..fab4664a9
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/RMIVoidValue.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_RMIVoidValue__
+#define __gnu_java_rmi_server_RMIVoidValue__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIVoidValue;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::RMIVoidValue : public ::java::lang::Object
+{
+
+ RMIVoidValue();
+public: // actually package-private
+ static ::gnu::java::rmi::server::RMIVoidValue * INSTANCE;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_RMIVoidValue__
diff --git a/libjava/gnu/java/rmi/server/TripleKey.h b/libjava/gnu/java/rmi/server/TripleKey.h
new file mode 100644
index 000000000..dbc2d429b
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/TripleKey.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_TripleKey__
+#define __gnu_java_rmi_server_TripleKey__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class TripleKey;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::TripleKey : public ::java::lang::Object
+{
+
+public: // actually package-private
+ TripleKey(::java::lang::String *, jint, ::java::lang::Object *);
+public:
+ virtual jint hashCode();
+ virtual jboolean equals(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) host;
+ jint port;
+ ::java::lang::Object * other;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_TripleKey__
diff --git a/libjava/gnu/java/rmi/server/UnicastConnection.h b/libjava/gnu/java/rmi/server/UnicastConnection.h
new file mode 100644
index 000000000..98f5d0d7b
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/UnicastConnection.h
@@ -0,0 +1,67 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_UnicastConnection__
+#define __gnu_java_rmi_server_UnicastConnection__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class UnicastConnection;
+ class UnicastConnectionManager;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class Socket;
+ }
+ }
+}
+
+class gnu::java::rmi::server::UnicastConnection : public ::java::lang::Object
+{
+
+public: // actually package-private
+ UnicastConnection(::gnu::java::rmi::server::UnicastConnectionManager *, ::java::net::Socket *);
+ virtual void acceptConnection();
+ virtual void makeConnection(jint);
+ virtual ::java::io::DataInputStream * getDataInputStream();
+ virtual ::java::io::DataOutputStream * getDataOutputStream();
+ virtual ::java::io::ObjectInputStream * getObjectInputStream();
+ virtual ::java::io::ObjectInputStream * startObjectInputStream();
+ virtual ::java::io::ObjectOutputStream * getObjectOutputStream();
+ virtual ::java::io::ObjectOutputStream * startObjectOutputStream();
+ virtual void disconnect();
+ static jboolean isExpired(::gnu::java::rmi::server::UnicastConnection *, jlong);
+ static void resetTime(::gnu::java::rmi::server::UnicastConnection *);
+public:
+ virtual void run();
+public: // actually package-private
+ ::gnu::java::rmi::server::UnicastConnectionManager * __attribute__((aligned(__alignof__( ::java::lang::Object)))) manager;
+ ::java::net::Socket * sock;
+ ::java::io::DataInputStream * din;
+ ::java::io::DataOutputStream * dout;
+ ::java::io::ObjectInputStream * oin;
+ ::java::io::ObjectOutputStream * oout;
+ jlong reviveTime;
+ jlong expireTime;
+public:
+ static const jlong CONNECTION_TIMEOUT = 10000LL;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_UnicastConnection__
diff --git a/libjava/gnu/java/rmi/server/UnicastConnectionManager$1.h b/libjava/gnu/java/rmi/server/UnicastConnectionManager$1.h
new file mode 100644
index 000000000..94deb02c7
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/UnicastConnectionManager$1.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_UnicastConnectionManager$1__
+#define __gnu_java_rmi_server_UnicastConnectionManager$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class UnicastConnectionManager$1;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::UnicastConnectionManager$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ UnicastConnectionManager$1();
+public:
+ virtual void run();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_UnicastConnectionManager$1__
diff --git a/libjava/gnu/java/rmi/server/UnicastConnectionManager.h b/libjava/gnu/java/rmi/server/UnicastConnectionManager.h
new file mode 100644
index 000000000..26c19ccc2
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/UnicastConnectionManager.h
@@ -0,0 +1,94 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_UnicastConnectionManager__
+#define __gnu_java_rmi_server_UnicastConnectionManager__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class UnicastConnection;
+ class UnicastConnectionManager;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class ServerSocket;
+ }
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIClientSocketFactory;
+ class RMIServerSocketFactory;
+ class RMISocketFactory;
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::UnicastConnectionManager : public ::java::lang::Object
+{
+
+ static void startScavenger();
+ UnicastConnectionManager(::java::lang::String *, jint, ::java::rmi::server::RMIClientSocketFactory *);
+ UnicastConnectionManager(jint, ::java::rmi::server::RMIServerSocketFactory *);
+public:
+ static ::gnu::java::rmi::server::UnicastConnectionManager * getInstance(::java::lang::String *, jint, ::java::rmi::server::RMIClientSocketFactory *);
+ static ::gnu::java::rmi::server::UnicastConnectionManager * getInstance(jint, ::java::rmi::server::RMIServerSocketFactory *);
+ virtual ::gnu::java::rmi::server::UnicastConnection * getConnection();
+private:
+ ::gnu::java::rmi::server::UnicastConnection * getServerConnection();
+ ::gnu::java::rmi::server::UnicastConnection * getClientConnection();
+public:
+ virtual ::java::lang::String * toString();
+ virtual void discardConnection(::gnu::java::rmi::server::UnicastConnection *);
+ virtual void startServer();
+ virtual void stopServer();
+ virtual void run();
+public: // actually package-private
+ virtual void write(::java::io::ObjectOutput *);
+ static ::gnu::java::rmi::server::UnicastConnectionManager * read(::java::io::ObjectInput *);
+private:
+ static ::java::lang::String * localhost;
+ static ::java::util::Hashtable * servers;
+public: // actually package-private
+ static ::java::util::Hashtable * clients;
+ ::java::util::ArrayList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) connections;
+private:
+ ::java::lang::Thread * volatile serverThread;
+ ::java::net::ServerSocket * ssock;
+public: // actually package-private
+ ::java::lang::String * serverName;
+ jint serverPort;
+ static ::java::lang::Thread * scavenger;
+ ::java::lang::Object * serverobj;
+private:
+ static ::java::rmi::server::RMISocketFactory * defaultSocketFactory;
+ ::java::rmi::server::RMIServerSocketFactory * serverFactory;
+ ::java::rmi::server::RMIClientSocketFactory * clientFactory;
+ static jint ncsock;
+ static jint nssock;
+ static jint ncmanager;
+ static jint nsmanager;
+ static const jboolean debug = 0;
+ static ::java::lang::Object * GLOBAL_LOCK;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_UnicastConnectionManager__
diff --git a/libjava/gnu/java/rmi/server/UnicastRef.h b/libjava/gnu/java/rmi/server/UnicastRef.h
new file mode 100644
index 000000000..089b35df9
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/UnicastRef.h
@@ -0,0 +1,91 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_UnicastRef__
+#define __gnu_java_rmi_server_UnicastRef__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class UnicastConnection;
+ class UnicastConnectionManager;
+ class UnicastRef;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace rmi
+ {
+ class Remote;
+ namespace dgc
+ {
+ class Lease;
+ }
+ namespace server
+ {
+ class ObjID;
+ class Operation;
+ class RMIClientSocketFactory;
+ class RemoteCall;
+ class RemoteObject;
+ class RemoteRef;
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::UnicastRef : public ::java::lang::Object
+{
+
+public:
+ UnicastRef();
+ UnicastRef(::java::rmi::server::ObjID *, ::java::lang::String *, jint, ::java::rmi::server::RMIClientSocketFactory *);
+ UnicastRef(::java::rmi::server::ObjID *);
+ virtual ::java::lang::Object * invoke(::java::rmi::Remote *, ::java::lang::reflect::Method *, JArray< ::java::lang::Object * > *, jlong);
+ virtual ::java::rmi::dgc::Lease * notifyDGC(::java::rmi::dgc::Lease *);
+public: // actually protected
+ virtual ::java::lang::Object * invokeCommon(::java::rmi::Remote *, ::java::lang::reflect::Method *, JArray< ::java::lang::Object * > *, jint, jlong);
+ virtual ::java::lang::Object * invokeCommon(::gnu::java::rmi::server::UnicastConnection *, ::java::rmi::Remote *, ::java::lang::reflect::Method *, JArray< ::java::lang::Object * > *, jint, jlong);
+public:
+ virtual ::java::rmi::server::RemoteCall * newCall(::java::rmi::server::RemoteObject *, JArray< ::java::rmi::server::Operation * > *, jint, jlong);
+ virtual void invoke(::java::rmi::server::RemoteCall *);
+ virtual void done(::java::rmi::server::RemoteCall *);
+ virtual void writeExternal(::java::io::ObjectOutput *);
+ virtual void readExternal(::java::io::ObjectInput *);
+ virtual jboolean remoteEquals(::java::rmi::server::RemoteRef *);
+ virtual jint remoteHashCode();
+ virtual ::java::lang::String * getRefClass(::java::io::ObjectOutput *);
+ virtual ::java::lang::String * remoteToString();
+ virtual void dump(::gnu::java::rmi::server::UnicastConnection *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+private:
+ static const jlong serialVersionUID = 1LL;
+public:
+ ::java::rmi::server::ObjID * __attribute__((aligned(__alignof__( ::java::lang::Object)))) objid;
+public: // actually package-private
+ ::gnu::java::rmi::server::UnicastConnectionManager * manager;
+ static jlong dgcSequence;
+ static ::java::rmi::server::ObjID * dgcId;
+ JArray< ::java::rmi::server::ObjID * > * this_id;
+ static jint DIRTY;
+ static const jlong dgcInterfaceHash = -669196253586618813LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_UnicastRef__
diff --git a/libjava/gnu/java/rmi/server/UnicastRemoteCall$DummyObjectInputStream.h b/libjava/gnu/java/rmi/server/UnicastRemoteCall$DummyObjectInputStream.h
new file mode 100644
index 000000000..acf348091
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/UnicastRemoteCall$DummyObjectInputStream.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_UnicastRemoteCall$DummyObjectInputStream__
+#define __gnu_java_rmi_server_UnicastRemoteCall$DummyObjectInputStream__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class UnicastRemoteCall;
+ class UnicastRemoteCall$DummyObjectInputStream;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::UnicastRemoteCall$DummyObjectInputStream : public ::java::lang::Object
+{
+
+public: // actually package-private
+ UnicastRemoteCall$DummyObjectInputStream(::gnu::java::rmi::server::UnicastRemoteCall *);
+public:
+ virtual jboolean readBoolean();
+ virtual jbyte readByte();
+ virtual jchar readChar();
+ virtual jdouble readDouble();
+ virtual jfloat readFloat();
+ virtual jint readInt();
+ virtual jlong readLong();
+ virtual jshort readShort();
+ virtual ::java::lang::Object * readObject();
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual jint read();
+ virtual jlong skip(jlong);
+ virtual jint available();
+ virtual void readFully(JArray< jbyte > *);
+ virtual void readFully(JArray< jbyte > *, jint, jint);
+ virtual ::java::lang::String * readLine();
+ virtual ::java::lang::String * readUTF();
+ virtual jint readUnsignedByte();
+ virtual jint readUnsignedShort();
+ virtual jint skipBytes(jint);
+ virtual void close();
+public: // actually package-private
+ ::gnu::java::rmi::server::UnicastRemoteCall * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_UnicastRemoteCall$DummyObjectInputStream__
diff --git a/libjava/gnu/java/rmi/server/UnicastRemoteCall$DummyObjectOutputStream.h b/libjava/gnu/java/rmi/server/UnicastRemoteCall$DummyObjectOutputStream.h
new file mode 100644
index 000000000..7a903b646
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/UnicastRemoteCall$DummyObjectOutputStream.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_UnicastRemoteCall$DummyObjectOutputStream__
+#define __gnu_java_rmi_server_UnicastRemoteCall$DummyObjectOutputStream__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class UnicastRemoteCall;
+ class UnicastRemoteCall$DummyObjectOutputStream;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::UnicastRemoteCall$DummyObjectOutputStream : public ::java::lang::Object
+{
+
+public: // actually package-private
+ UnicastRemoteCall$DummyObjectOutputStream(::gnu::java::rmi::server::UnicastRemoteCall *);
+public:
+ virtual void writeBoolean(jboolean);
+ virtual void writeByte(jint);
+ virtual void writeChar(jint);
+ virtual void writeDouble(jdouble);
+ virtual void writeFloat(jfloat);
+ virtual void writeInt(jint);
+ virtual void writeLong(jlong);
+ virtual void writeShort(jint);
+ virtual void writeObject(::java::lang::Object *);
+ virtual void write(JArray< jbyte > *);
+ virtual void write(JArray< jbyte > *, jint, jint);
+ virtual void write(jint);
+ virtual void writeBytes(::java::lang::String *);
+ virtual void writeChars(::java::lang::String *);
+ virtual void writeUTF(::java::lang::String *);
+ virtual void flush();
+ virtual void close();
+public: // actually package-private
+ ::gnu::java::rmi::server::UnicastRemoteCall * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_UnicastRemoteCall$DummyObjectOutputStream__
diff --git a/libjava/gnu/java/rmi/server/UnicastRemoteCall.h b/libjava/gnu/java/rmi/server/UnicastRemoteCall.h
new file mode 100644
index 000000000..d6808a6e3
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/UnicastRemoteCall.h
@@ -0,0 +1,81 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_UnicastRemoteCall__
+#define __gnu_java_rmi_server_UnicastRemoteCall__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class UnicastConnection;
+ class UnicastRemoteCall;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class ObjID;
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::UnicastRemoteCall : public ::java::lang::Object
+{
+
+public: // actually package-private
+ UnicastRemoteCall(::gnu::java::rmi::server::UnicastConnection *);
+ UnicastRemoteCall(::gnu::java::rmi::server::UnicastConnection *, ::java::rmi::server::ObjID *, jint, jlong);
+ virtual ::gnu::java::rmi::server::UnicastConnection * getConnection();
+public:
+ virtual ::java::io::ObjectOutput * getOutputStream();
+ virtual void releaseOutputStream();
+ virtual ::java::io::ObjectInput * startInputStream();
+ virtual ::java::io::ObjectInput * getInputStream();
+ virtual void releaseInputStream();
+ virtual ::java::io::ObjectOutput * getResultStream(jboolean);
+ virtual void executeCall();
+ virtual void done();
+public: // actually package-private
+ virtual jboolean isReturnValue();
+ virtual ::java::lang::Object * returnValue();
+ virtual JArray< ::java::lang::Object * > * getArguments();
+ virtual ::java::lang::Object * getObject();
+ virtual jint getOpnum();
+ virtual jlong getHash();
+ virtual void setReturnValue(::java::lang::Object *);
+private:
+ ::gnu::java::rmi::server::UnicastConnection * __attribute__((aligned(__alignof__( ::java::lang::Object)))) conn;
+ ::java::lang::Object * result;
+ ::java::lang::Object * object;
+ jint opnum;
+ jlong hash;
+public: // actually package-private
+ ::java::util::Vector * vec;
+ jint ptr;
+private:
+ ::java::rmi::server::ObjID * objid;
+ ::java::io::ObjectOutput * oout;
+ ::java::io::ObjectInput * oin;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_UnicastRemoteCall__
diff --git a/libjava/gnu/java/rmi/server/UnicastRemoteStub.h b/libjava/gnu/java/rmi/server/UnicastRemoteStub.h
new file mode 100644
index 000000000..14c9e5a5a
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/UnicastRemoteStub.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_UnicastRemoteStub__
+#define __gnu_java_rmi_server_UnicastRemoteStub__
+
+#pragma interface
+
+#include <java/rmi/server/RemoteStub.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class UnicastRemoteStub;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class RemoteRef;
+ class RemoteStub;
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::UnicastRemoteStub : public ::java::rmi::server::RemoteStub
+{
+
+public:
+ UnicastRemoteStub();
+ static void setStubRef(::java::rmi::server::RemoteStub *, ::java::rmi::server::RemoteRef *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_UnicastRemoteStub__
diff --git a/libjava/gnu/java/rmi/server/UnicastServer.h b/libjava/gnu/java/rmi/server/UnicastServer.h
new file mode 100644
index 000000000..5ebf3633c
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/UnicastServer.h
@@ -0,0 +1,74 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_UnicastServer__
+#define __gnu_java_rmi_server_UnicastServer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace dgc
+ {
+ class DGCImpl;
+ }
+ namespace server
+ {
+ class ActivatableServerRef;
+ class UnicastConnection;
+ class UnicastServer;
+ class UnicastServerRef;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace rmi
+ {
+ class Remote;
+ namespace activation
+ {
+ class ActivationID;
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::UnicastServer : public ::java::lang::Object
+{
+
+public:
+ UnicastServer();
+ static void exportObject(::gnu::java::rmi::server::UnicastServerRef *);
+ static void registerActivatable(::gnu::java::rmi::server::ActivatableServerRef *);
+ static void exportActivatableObject(::gnu::java::rmi::server::ActivatableServerRef *);
+ static ::gnu::java::rmi::server::ActivatableServerRef * getActivatableRef(::java::rmi::activation::ActivationID *);
+ static void unregisterActivatable(::java::rmi::activation::ActivationID *);
+ static jboolean unexportObject(::gnu::java::rmi::server::UnicastServerRef *, jboolean);
+ static ::gnu::java::rmi::server::UnicastServerRef * getExportedRef(::java::rmi::Remote *);
+ static ::java::util::Collection * getExported(::java::lang::Object *);
+private:
+ static void startDGC();
+public:
+ static void dispatch(::gnu::java::rmi::server::UnicastConnection *);
+private:
+ static void incomingMessageCall(::gnu::java::rmi::server::UnicastConnection *);
+ static ::java::util::Map * objects;
+ static ::java::util::Map * refcache;
+public:
+ static ::java::util::Map * actIds;
+private:
+ static ::gnu::java::rmi::dgc::DGCImpl * dgc;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_UnicastServer__
diff --git a/libjava/gnu/java/rmi/server/UnicastServerRef.h b/libjava/gnu/java/rmi/server/UnicastServerRef.h
new file mode 100644
index 000000000..62299d9cd
--- /dev/null
+++ b/libjava/gnu/java/rmi/server/UnicastServerRef.h
@@ -0,0 +1,80 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_rmi_server_UnicastServerRef__
+#define __gnu_java_rmi_server_UnicastServerRef__
+
+#pragma interface
+
+#include <gnu/java/rmi/server/UnicastRef.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace rmi
+ {
+ namespace server
+ {
+ class UnicastConnection;
+ class UnicastServerRef;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace rmi
+ {
+ class Remote;
+ namespace server
+ {
+ class ObjID;
+ class RMIServerSocketFactory;
+ class RemoteRef;
+ class Skeleton;
+ }
+ }
+ }
+}
+
+class gnu::java::rmi::server::UnicastServerRef : public ::gnu::java::rmi::server::UnicastRef
+{
+
+public: // actually package-private
+ UnicastServerRef();
+public:
+ UnicastServerRef(::java::rmi::server::ObjID *, jint, ::java::rmi::server::RMIServerSocketFactory *);
+ virtual ::java::rmi::Remote * exportObject(::java::rmi::Remote *);
+ virtual ::java::rmi::Remote * getStub();
+ virtual jboolean unexportObject(::java::rmi::Remote *, jboolean);
+public: // actually protected
+ virtual ::java::lang::Class * findStubSkelClass(::java::lang::Class *);
+ virtual ::java::lang::Object * getHelperClass(::java::lang::Class *, ::java::lang::String *);
+public:
+ virtual ::java::lang::String * getClientHost();
+public: // actually protected
+ virtual void buildMethodHash(::java::lang::Class *, jboolean);
+public: // actually package-private
+ virtual ::java::lang::Class * getMethodReturnType(jint, jlong);
+public:
+ virtual ::java::lang::Object * incomingMessageCall(::gnu::java::rmi::server::UnicastConnection *, jint, jlong);
+public: // actually package-private
+ virtual ::java::rmi::Remote * createProxyStub(::java::lang::Class *, ::java::rmi::server::RemoteRef *);
+private:
+ static const jlong serialVersionUID = -5585608108300801246LL;
+ static JArray< ::java::lang::Class * > * stubprototype;
+public: // actually package-private
+ ::java::rmi::Remote * __attribute__((aligned(__alignof__( ::gnu::java::rmi::server::UnicastRef)))) myself;
+public: // actually protected
+ ::java::rmi::server::Skeleton * skel;
+ ::java::rmi::Remote * stub;
+ ::java::util::Hashtable * methods;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_rmi_server_UnicastServerRef__