aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices.Manager/OpenGridServices.Manager/Main.cs
diff options
context:
space:
mode:
authorgareth2007-05-17 01:06:02 +0000
committergareth2007-05-17 01:06:02 +0000
commit2f4d484702e68dc1bd82fe0a3fe0a4c3f7afdd69 (patch)
treec82b377c7e424950e60fa17ff61127243536428b /OpenGridServices.Manager/OpenGridServices.Manager/Main.cs
parentBrought in XMLRPC.dll (diff)
downloadopensim-SC-2f4d484702e68dc1bd82fe0a3fe0a4c3f7afdd69.zip
opensim-SC-2f4d484702e68dc1bd82fe0a3fe0a4c3f7afdd69.tar.gz
opensim-SC-2f4d484702e68dc1bd82fe0a3fe0a4c3f7afdd69.tar.bz2
opensim-SC-2f4d484702e68dc1bd82fe0a3fe0a4c3f7afdd69.tar.xz
Started Grid Server connection manager
Diffstat (limited to '')
-rw-r--r--OpenGridServices.Manager/OpenGridServices.Manager/Main.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager/Main.cs b/OpenGridServices.Manager/OpenGridServices.Manager/Main.cs
index f6a41e1..b14d10b 100644
--- a/OpenGridServices.Manager/OpenGridServices.Manager/Main.cs
+++ b/OpenGridServices.Manager/OpenGridServices.Manager/Main.cs
@@ -12,6 +12,9 @@ namespace OpenGridServices.Manager
12 public static BlockingQueue<string> PendingOperations = new BlockingQueue<string>(); 12 public static BlockingQueue<string> PendingOperations = new BlockingQueue<string>();
13 13
14 private static Thread OperationsRunner; 14 private static Thread OperationsRunner;
15
16 private static GridServerConnectionManager gridserverConn;
17
15 private static MainWindow win; 18 private static MainWindow win;
16 19
17 public static void DoMainLoop() 20 public static void DoMainLoop()
@@ -36,7 +39,7 @@ namespace OpenGridServices.Manager
36 switch(cmd) { 39 switch(cmd) {
37 case "connect_to_gridserver": 40 case "connect_to_gridserver":
38 win.SetStatus("Connecting to grid server..."); 41 win.SetStatus("Connecting to grid server...");
39 42 gridserverConn.Connect(operation.Split(sep)[1],operation.Split(sep)[2],operation.Split(sep)[3]);
40 break; 43 break;
41 } 44 }
42 } 45 }
@@ -44,6 +47,7 @@ namespace OpenGridServices.Manager
44 47
45 public static void Main (string[] args) 48 public static void Main (string[] args)
46 { 49 {
50 gridserverConn = new GridServerConnectionManager();
47 Application.Init (); 51 Application.Init ();
48 win = new MainWindow (); 52 win = new MainWindow ();
49 win.Show (); 53 win.Show ();