Commit ddacddd7 authored by Hélène Ortiz's avatar Hélène Ortiz

No commit message

No commit message
parent 2180e922
......@@ -18,6 +18,7 @@
package fr.ill.ics.bridge;
import fr.ill.ics.nappli.remote.Application.Future;
import fr.ill.ics.nappli.remote.Application;
import fr.ill.ics.nappli.remote.ConnectionTimeout;
import fr.ill.ics.nappli.remote.Server;
......@@ -60,7 +61,7 @@ public class LogViewerManager {
System.out.println("starting log viewer with nappli [" + cycleId + ", " + instrumentId + ", " + proposalId + ", " + authentication + "]");
System.out.println("headers length " + headers.length);
// Connect to the server
server = new Server("tcp://localhost:7000");
server = Application.getLocalServer();
// Start nomad log viewer
try {
......@@ -82,7 +83,7 @@ public class LogViewerManager {
System.out.println("stopping application " + nomadLogViewer.getNameId());
nomadLogViewer.stop();
nomadLogViewer = null;
// ?
// A déplacer sur la fermeture de NomadGUI !!!!!!
server.terminate();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment