aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/GridServer/GridServerBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/GridServer/GridServerBase.cs')
-rw-r--r--OpenSim/Grid/GridServer/GridServerBase.cs33
1 files changed, 0 insertions, 33 deletions
diff --git a/OpenSim/Grid/GridServer/GridServerBase.cs b/OpenSim/Grid/GridServer/GridServerBase.cs
index 1bc3955..1ee97f4 100644
--- a/OpenSim/Grid/GridServer/GridServerBase.cs
+++ b/OpenSim/Grid/GridServer/GridServerBase.cs
@@ -176,39 +176,6 @@ namespace OpenSim.Grid.GridServer
176 176
177 public void CheckSims(object sender, ElapsedEventArgs e) 177 public void CheckSims(object sender, ElapsedEventArgs e)
178 { 178 {
179 /*
180 foreach (SimProfileBase sim in m_simProfileManager.SimProfiles.Values)
181 {
182 string SimResponse = String.Empty;
183 try
184 {
185 WebRequest CheckSim = WebRequest.Create("http://" + sim.sim_ip + ":" + sim.sim_port.ToString() + "/checkstatus/");
186 CheckSim.Method = "GET";
187 CheckSim.ContentType = "text/plaintext";
188 CheckSim.ContentLength = 0;
189
190 StreamWriter stOut = new StreamWriter(CheckSim.GetRequestStream(), System.Text.Encoding.ASCII);
191 stOut.Write(String.Empty);
192 stOut.Close();
193
194 StreamReader stIn = new StreamReader(CheckSim.GetResponse().GetResponseStream());
195 SimResponse = stIn.ReadToEnd();
196 stIn.Close();
197 }
198 catch
199 {
200 }
201
202 if (SimResponse == "OK")
203 {
204 m_simProfileManager.SimProfiles[sim.UUID].online = true;
205 }
206 else
207 {
208 m_simProfileManager.SimProfiles[sim.UUID].online = false;
209 }
210 }
211 */
212 } 179 }
213 180
214 public override void ShutdownSpecific() 181 public override void ShutdownSpecific()