diff options
author | Jeff Ames | 2008-08-18 00:39:10 +0000 |
---|---|---|
committer | Jeff Ames | 2008-08-18 00:39:10 +0000 |
commit | 6ef9d4da901a346c232458317cca6268da888e2e (patch) | |
tree | dd1d935b10f34f261839da9f9879c02322e8ede7 /OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs | |
parent | Update svn properties, minor formatting cleanup. (diff) | |
download | opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.zip opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.tar.gz opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.tar.bz2 opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.tar.xz |
Formatting cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs index cf44ac2..c39e72a 100644 --- a/OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/GridServerConnectionManager.cs | |||
@@ -41,9 +41,9 @@ namespace OpenGridServices.Manager | |||
41 | private string ServerURL; | 41 | private string ServerURL; |
42 | public LLUUID SessionID; | 42 | public LLUUID SessionID; |
43 | public bool connected=false; | 43 | public bool connected=false; |
44 | 44 | ||
45 | public RegionBlock[][] WorldMap; | 45 | public RegionBlock[][] WorldMap; |
46 | 46 | ||
47 | public bool Connect(string GridServerURL, string username, string password) | 47 | public bool Connect(string GridServerURL, string username, string password) |
48 | { | 48 | { |
49 | try | 49 | try |
@@ -76,14 +76,14 @@ namespace OpenGridServices.Manager | |||
76 | return false; | 76 | return false; |
77 | } | 77 | } |
78 | } | 78 | } |
79 | 79 | ||
80 | public void DownloadMap() | 80 | public void DownloadMap() |
81 | { | 81 | { |
82 | System.Net.WebClient mapdownloader = new WebClient(); | 82 | System.Net.WebClient mapdownloader = new WebClient(); |
83 | Stream regionliststream = mapdownloader.OpenRead(ServerURL + "/regionlist"); | 83 | Stream regionliststream = mapdownloader.OpenRead(ServerURL + "/regionlist"); |
84 | 84 | ||
85 | RegionBlock TempRegionData; | 85 | RegionBlock TempRegionData; |
86 | 86 | ||
87 | XmlDocument doc = new XmlDocument(); | 87 | XmlDocument doc = new XmlDocument(); |
88 | doc.Load(regionliststream); | 88 | doc.Load(regionliststream); |
89 | regionliststream.Close(); | 89 | regionliststream.Close(); |
@@ -105,12 +105,12 @@ namespace OpenGridServices.Manager | |||
105 | } | 105 | } |
106 | } | 106 | } |
107 | } | 107 | } |
108 | 108 | ||
109 | public bool RestartServer() | 109 | public bool RestartServer() |
110 | { | 110 | { |
111 | return true; | 111 | return true; |
112 | } | 112 | } |
113 | 113 | ||
114 | public bool ShutdownServer() | 114 | public bool ShutdownServer() |
115 | { | 115 | { |
116 | try | 116 | try |
@@ -137,7 +137,7 @@ namespace OpenGridServices.Manager | |||
137 | return false; | 137 | return false; |
138 | } | 138 | } |
139 | } | 139 | } |
140 | 140 | ||
141 | public void DisconnectServer() | 141 | public void DisconnectServer() |
142 | { | 142 | { |
143 | this.connected=false; | 143 | this.connected=false; |