diff options
| author | Tobias Spitzer | 2014-05-15 11:17:06 +0200 |
|---|---|---|
| committer | Tobias Spitzer | 2014-05-15 11:17:06 +0200 |
| commit | 32dff35f3cf3a74f62b64105fd57f7da0e2027dc (patch) | |
| tree | f60fa38f526b7d1167342335c2cfa0c393a84466 /Dozentenmodul/src/thrift/ThriftConnection.java | |
| parent | Merge branch 'master' of ssh://git.openslx.org/openslx-ng/tutor-module (diff) | |
| download | tutor-module-32dff35f3cf3a74f62b64105fd57f7da0e2027dc.tar.gz tutor-module-32dff35f3cf3a74f62b64105fd57f7da0e2027dc.tar.xz tutor-module-32dff35f3cf3a74f62b64105fd57f7da0e2027dc.zip | |
Es wird nur noch eine Verbindung zum bwLehrpoolSuite Server geöffnet.
Diffstat (limited to 'Dozentenmodul/src/thrift/ThriftConnection.java')
| -rw-r--r-- | Dozentenmodul/src/thrift/ThriftConnection.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Dozentenmodul/src/thrift/ThriftConnection.java b/Dozentenmodul/src/thrift/ThriftConnection.java index 7652fbe7..dcd441bc 100644 --- a/Dozentenmodul/src/thrift/ThriftConnection.java +++ b/Dozentenmodul/src/thrift/ThriftConnection.java @@ -17,7 +17,11 @@ public class ThriftConnection { private String satAddress = ""+SessionData.session.getServerAdress(); final TTransport transport = new TSocket(satAddress, 9090); - //final TTransport transport = new TSocket("141.79.128.102", 9090); + + public ThriftConnection() { + // TODO Auto-generated constructor stub + } + public Client getThriftConnection() { @@ -34,6 +38,7 @@ public class ThriftConnection { } final TProtocol protocol = new TBinaryProtocol(transport); + final Server.Client client = new Server.Client(protocol); System.out.println("Verbindung zu "+satAddress+" wurde aufgebaut."); |
