summaryrefslogtreecommitdiff
path: root/libjava/java/rmi/server/RMISocketFactory.h
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-09 19:58:05 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-09 19:58:05 +0000
commit65bf3316cf384588453604be6b4f0ed3751a8b0f (patch)
tree996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/java/rmi/server/RMISocketFactory.h
parent8fc56618a84446beccd45b80381cdfe0e94050df (diff)
downloadgcc-65bf3316cf384588453604be6b4f0ed3751a8b0f.tar.gz
Merged gcj-eclipse branch to trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/rmi/server/RMISocketFactory.h')
-rw-r--r--libjava/java/rmi/server/RMISocketFactory.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/libjava/java/rmi/server/RMISocketFactory.h b/libjava/java/rmi/server/RMISocketFactory.h
new file mode 100644
index 00000000000..f79b04cc449
--- /dev/null
+++ b/libjava/java/rmi/server/RMISocketFactory.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_rmi_server_RMISocketFactory__
+#define __java_rmi_server_RMISocketFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class ServerSocket;
+ class Socket;
+ }
+ namespace rmi
+ {
+ namespace server
+ {
+ class RMIFailureHandler;
+ class RMISocketFactory;
+ }
+ }
+ }
+}
+
+class java::rmi::server::RMISocketFactory : public ::java::lang::Object
+{
+
+public:
+ RMISocketFactory();
+ virtual ::java::net::Socket * createSocket(::java::lang::String *, jint) = 0;
+ virtual ::java::net::ServerSocket * createServerSocket(jint) = 0;
+ static void setSocketFactory(::java::rmi::server::RMISocketFactory *);
+ static ::java::rmi::server::RMISocketFactory * getSocketFactory();
+ static ::java::rmi::server::RMISocketFactory * getDefaultSocketFactory();
+ static void setFailureHandler(::java::rmi::server::RMIFailureHandler *);
+ static ::java::rmi::server::RMIFailureHandler * getFailureHandler();
+private:
+ static ::java::rmi::server::RMISocketFactory * defaultFactory;
+ static ::java::rmi::server::RMISocketFactory * currentFactory;
+ static ::java::rmi::server::RMIFailureHandler * currentHandler;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_rmi_server_RMISocketFactory__