diff options
Diffstat (limited to 'libjava/java/rmi/registry')
-rw-r--r-- | libjava/java/rmi/registry/LocateRegistry.h | 45 | ||||
-rw-r--r-- | libjava/java/rmi/registry/Registry.h | 40 | ||||
-rw-r--r-- | libjava/java/rmi/registry/RegistryHandler.h | 34 |
3 files changed, 119 insertions, 0 deletions
diff --git a/libjava/java/rmi/registry/LocateRegistry.h b/libjava/java/rmi/registry/LocateRegistry.h new file mode 100644 index 000000000..75b0b4a65 --- /dev/null +++ b/libjava/java/rmi/registry/LocateRegistry.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_rmi_registry_LocateRegistry__ +#define __java_rmi_registry_LocateRegistry__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace rmi + { + namespace registry + { + class LocateRegistry; + class Registry; + } + namespace server + { + class RMIClientSocketFactory; + class RMIServerSocketFactory; + } + } + } +} + +class java::rmi::registry::LocateRegistry : public ::java::lang::Object +{ + + LocateRegistry(); +public: + static ::java::rmi::registry::Registry * getRegistry(); + static ::java::rmi::registry::Registry * getRegistry(jint); + static ::java::rmi::registry::Registry * getRegistry(::java::lang::String *); + static ::java::rmi::registry::Registry * getRegistry(::java::lang::String *, jint); + static ::java::rmi::registry::Registry * getRegistry(::java::lang::String *, jint, ::java::rmi::server::RMIClientSocketFactory *); + static ::java::rmi::registry::Registry * createRegistry(jint); + static ::java::rmi::registry::Registry * createRegistry(jint, ::java::rmi::server::RMIClientSocketFactory *, ::java::rmi::server::RMIServerSocketFactory *); + static ::java::lang::Class class$; +}; + +#endif // __java_rmi_registry_LocateRegistry__ diff --git a/libjava/java/rmi/registry/Registry.h b/libjava/java/rmi/registry/Registry.h new file mode 100644 index 000000000..470ef2bf4 --- /dev/null +++ b/libjava/java/rmi/registry/Registry.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_rmi_registry_Registry__ +#define __java_rmi_registry_Registry__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace rmi + { + class Remote; + namespace registry + { + class Registry; + } + } + } +} + +class java::rmi::registry::Registry : public ::java::lang::Object +{ + +public: + virtual ::java::rmi::Remote * lookup(::java::lang::String *) = 0; + virtual void bind(::java::lang::String *, ::java::rmi::Remote *) = 0; + virtual void unbind(::java::lang::String *) = 0; + virtual void rebind(::java::lang::String *, ::java::rmi::Remote *) = 0; + virtual JArray< ::java::lang::String * > * list() = 0; + static const jint REGISTRY_PORT = 1099; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_rmi_registry_Registry__ diff --git a/libjava/java/rmi/registry/RegistryHandler.h b/libjava/java/rmi/registry/RegistryHandler.h new file mode 100644 index 000000000..cd2909402 --- /dev/null +++ b/libjava/java/rmi/registry/RegistryHandler.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_rmi_registry_RegistryHandler__ +#define __java_rmi_registry_RegistryHandler__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace rmi + { + namespace registry + { + class Registry; + class RegistryHandler; + } + } + } +} + +class java::rmi::registry::RegistryHandler : public ::java::lang::Object +{ + +public: + virtual ::java::rmi::registry::Registry * registryStub(::java::lang::String *, jint) = 0; + virtual ::java::rmi::registry::Registry * registryImpl(jint) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_rmi_registry_RegistryHandler__ |