From 2a3ec0fbda66ed07adcdc968a9365096ecd54f40 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 25 Feb 2014 11:04:51 +0100 Subject: Kommunikation von BwLehrpool Suite zu BwLehrpool Suite Server läuft nun über Thrift --- Dozentenmodul/src/rmi/RmiClientMethods.java | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 Dozentenmodul/src/rmi/RmiClientMethods.java (limited to 'Dozentenmodul/src/rmi/RmiClientMethods.java') diff --git a/Dozentenmodul/src/rmi/RmiClientMethods.java b/Dozentenmodul/src/rmi/RmiClientMethods.java deleted file mode 100644 index 58df1734..00000000 --- a/Dozentenmodul/src/rmi/RmiClientMethods.java +++ /dev/null @@ -1,29 +0,0 @@ -package rmi; -import java.rmi.*; -import server.*; - -public class RmiClientMethods { - - public ServerInterface getInterface() - { - String strName = "rmi://141.79.128.121:9999/TheRMIExample"; - System.out.println("Client: Looking up " + strName + "..."); - ServerInterface RMI = null; - - try - { - - RMI = (ServerInterface)Naming.lookup(strName); - - } - catch (Exception e) - { - System.out.println("Client: Exception thrown looking up " + strName); - System.out.println("Client: " + e.getMessage().toString()); - System.exit(1); - } - return RMI; - } - - -} -- cgit v1.2.3-55-g7522