aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs')
-rw-r--r--OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs17
1 files changed, 9 insertions, 8 deletions
diff --git a/OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs
index 995dd8c..a386fa8 100644
--- a/OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs
+++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs
@@ -55,7 +55,7 @@ namespace OpenGridServices.Manager
55 LoginParams.Add(LoginParamsHT); 55 LoginParams.Add(LoginParamsHT);
56 XmlRpcRequest GridLoginReq = new XmlRpcRequest("manager_login",LoginParams); 56 XmlRpcRequest GridLoginReq = new XmlRpcRequest("manager_login",LoginParams);
57 XmlRpcResponse GridResp = GridLoginReq.Send(ServerURL,3000); 57 XmlRpcResponse GridResp = GridLoginReq.Send(ServerURL,3000);
58 if(GridResp.IsFault) { 58 if (GridResp.IsFault) {
59 connected=false; 59 connected=false;
60 return false; 60 return false;
61 } else { 61 } else {
@@ -87,14 +87,15 @@ namespace OpenGridServices.Manager
87 // TODO - ERROR! 87 // TODO - ERROR!
88 } 88 }
89 89
90 for(int i=0; i<=rootnode.ChildNodes.Count; i++) 90 for (int i = 0; i <= rootnode.ChildNodes.Count; i++)
91 { 91 {
92 if(rootnode.ChildNodes.Item(i).Name != "region") { 92 if (rootnode.ChildNodes.Item(i).Name != "region")
93 {
93 // TODO - ERROR! 94 // TODO - ERROR!
94 } else { 95 }
96 else
97 {
95 TempRegionData = new RegionBlock(); 98 TempRegionData = new RegionBlock();
96
97
98 } 99 }
99 } 100 }
100 } 101 }
@@ -112,8 +113,8 @@ namespace OpenGridServices.Manager
112 ShutdownParamsHT["session_id"]=this.SessionID.ToString(); 113 ShutdownParamsHT["session_id"]=this.SessionID.ToString();
113 ShutdownParams.Add(ShutdownParamsHT); 114 ShutdownParams.Add(ShutdownParamsHT);
114 XmlRpcRequest GridShutdownReq = new XmlRpcRequest("shutdown",ShutdownParams); 115 XmlRpcRequest GridShutdownReq = new XmlRpcRequest("shutdown",ShutdownParams);
115 XmlRpcResponse GridResp = GridShutdownReq.Send(this.ServerURL,3000); 116 XmlRpcResponse GridResp = GridShutdownReq.Send(this.ServerURL, 3000);
116 if(GridResp.IsFault) { 117 if (GridResp.IsFault) {
117 return false; 118 return false;
118 } else { 119 } else {
119 connected=false; 120 connected=false;