diff options
author | Martin <marcin.j.chrzanowski@gmail.com> | 2020-01-28 15:03:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 15:03:48 +0100 |
commit | 23082aca8e8089474c5b2f7dfd5072dc68cc881a (patch) | |
tree | 05679cf81514bb5343390e55e0508fa093bd640a /src/main/java/pl/edu/mimuw/cloudatlas/client | |
parent | bf239e90080de1ddab4e0d03619ba2c17dea53bb (diff) | |
parent | 6cf8879512d73a2a75e76e85d94ae274919c29b5 (diff) |
Merge pull request #134 from m-chrzan/logs-n-contacts
Logs n contacts
Diffstat (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/client')
-rw-r--r-- | src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java b/src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java index b11a8b7..bbdb8dc 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java @@ -45,10 +45,21 @@ public class ClientController { String agentHostname = System.getProperty("agent_hostname"); Registry registry = LocateRegistry.getRegistry(agentHostname); this.agentApi = (Api) registry.lookup("Api"); + System.out.println("agent api:"); + System.out.println(this.agentApi); String querySignerHostname = System.getProperty("query_signer_hostname"); Registry querySignerRegistry = LocateRegistry.getRegistry(querySignerHostname); + System.out.println("querySignerHostname: " + querySignerHostname); + System.out.println(InetAddress.getByName("localhost")); + System.out.println(InetAddress.getByName(querySignerHostname)); + System.out.println("LIST:"); + System.out.println(querySignerRegistry.list()); + System.out.println("registry:"); + System.out.println(querySignerRegistry); this.querySignerApi = (QuerySignerApi) querySignerRegistry.lookup("QuerySignerApi"); + System.out.println("api:"); + System.out.println(this.querySignerApi); } catch (Exception e) { System.err.println("Client exception:"); e.printStackTrace(); |