diff options
Diffstat (limited to 'Dozentenmodul/src/thrift/MasterThriftConnection.java')
| -rw-r--r-- | Dozentenmodul/src/thrift/MasterThriftConnection.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Dozentenmodul/src/thrift/MasterThriftConnection.java b/Dozentenmodul/src/thrift/MasterThriftConnection.java index ecbc689c..7ddbd1a5 100644 --- a/Dozentenmodul/src/thrift/MasterThriftConnection.java +++ b/Dozentenmodul/src/thrift/MasterThriftConnection.java @@ -11,7 +11,10 @@ import thrift.ImageServer.Client; public class MasterThriftConnection { - final TTransport transport = new TSocket("132.230.4.16", 9090); + + public static final String MASTERSERVERIP="132.230.4.16"; + final TTransport transport = new TSocket(MASTERSERVERIP, 9090); + public Client getMasterThriftConnection() { @@ -26,7 +29,7 @@ public class MasterThriftConnection { final Client client = new Client(protocol); - System.out.println("Der Server läuft!"); + System.out.println("\nDer Server läuft!"); return client; } |
