diff options
| author | unknown | 2014-02-25 11:04:51 +0100 |
|---|---|---|
| committer | unknown | 2014-02-25 11:04:51 +0100 |
| commit | 2a3ec0fbda66ed07adcdc968a9365096ecd54f40 (patch) | |
| tree | 187af202e5a404a15c31f0915e73cb23bf5b7900 /Dozentenmodul/src/rmi/RmiClientMethods.java | |
| parent | Problem der herumspringenden Fenster entfernt (diff) | |
| download | tutor-module-2a3ec0fbda66ed07adcdc968a9365096ecd54f40.tar.gz tutor-module-2a3ec0fbda66ed07adcdc968a9365096ecd54f40.tar.xz tutor-module-2a3ec0fbda66ed07adcdc968a9365096ecd54f40.zip | |
Kommunikation von BwLehrpool Suite zu BwLehrpool Suite Server läuft nun über Thrift
Diffstat (limited to 'Dozentenmodul/src/rmi/RmiClientMethods.java')
| -rw-r--r-- | Dozentenmodul/src/rmi/RmiClientMethods.java | 29 |
1 files changed, 0 insertions, 29 deletions
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; - } - - -} |
