aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
diff options
context:
space:
mode:
authorJeff Ames2009-06-04 03:58:04 +0000
committerJeff Ames2009-06-04 03:58:04 +0000
commitc6cef4bad5fe939b822687f521907c11c05a2bb3 (patch)
treeea76bc0035027a23e7ec9f05f6c77e01f106b880 /OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
parentComment out unused private functions to avoid compiler warnings. (diff)
downloadopensim-SC_OLD-c6cef4bad5fe939b822687f521907c11c05a2bb3.zip
opensim-SC_OLD-c6cef4bad5fe939b822687f521907c11c05a2bb3.tar.gz
opensim-SC_OLD-c6cef4bad5fe939b822687f521907c11c05a2bb3.tar.bz2
opensim-SC_OLD-c6cef4bad5fe939b822687f521907c11c05a2bb3.tar.xz
Comment out unused variables / private fields to avoid compiler warnings.
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation/AgentHandlers.cs')
-rw-r--r--OpenSim/Server/Handlers/Simulation/AgentHandlers.cs30
1 files changed, 14 insertions, 16 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
index dd32ec9..c14ad99 100644
--- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
+++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
@@ -46,14 +46,14 @@ namespace OpenSim.Server.Handlers.Simulation
46{ 46{
47 public class AgentGetHandler : BaseStreamHandler 47 public class AgentGetHandler : BaseStreamHandler
48 { 48 {
49 private ISimulationService m_SimulationService; 49 // TODO: unused: private ISimulationService m_SimulationService;
50 private IAuthenticationService m_AuthenticationService; 50 // TODO: unused: private IAuthenticationService m_AuthenticationService;
51 51
52 public AgentGetHandler(ISimulationService service, IAuthenticationService authentication) : 52 public AgentGetHandler(ISimulationService service, IAuthenticationService authentication) :
53 base("GET", "/agent") 53 base("GET", "/agent")
54 { 54 {
55 m_SimulationService = service; 55 // TODO: unused: m_SimulationService = service;
56 m_AuthenticationService = authentication; 56 // TODO: unused: m_AuthenticationService = authentication;
57 } 57 }
58 58
59 public override byte[] Handle(string path, Stream request, 59 public override byte[] Handle(string path, Stream request,
@@ -70,14 +70,14 @@ namespace OpenSim.Server.Handlers.Simulation
70 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 70 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
71 private ISimulationService m_SimulationService; 71 private ISimulationService m_SimulationService;
72 private IAuthenticationService m_AuthenticationService; 72 private IAuthenticationService m_AuthenticationService;
73 private bool m_AllowForeignGuests; 73 // TODO: unused: private bool m_AllowForeignGuests;
74 74
75 public AgentPostHandler(ISimulationService service, IAuthenticationService authentication, bool foreignGuests) : 75 public AgentPostHandler(ISimulationService service, IAuthenticationService authentication, bool foreignGuests) :
76 base("POST", "/agent") 76 base("POST", "/agent")
77 { 77 {
78 m_SimulationService = service; 78 m_SimulationService = service;
79 m_AuthenticationService = authentication; 79 m_AuthenticationService = authentication;
80 m_AllowForeignGuests = foreignGuests; 80 // TODO: unused: m_AllowForeignGuests = foreignGuests;
81 } 81 }
82 82
83 public override byte[] Handle(string path, Stream request, 83 public override byte[] Handle(string path, Stream request,
@@ -160,20 +160,19 @@ namespace OpenSim.Server.Handlers.Simulation
160 httpResponse.StatusCode = (int)HttpStatusCode.OK; 160 httpResponse.StatusCode = (int)HttpStatusCode.OK;
161 161
162 return Encoding.UTF8.GetBytes(OSDParser.SerializeJsonString(resp)); 162 return Encoding.UTF8.GetBytes(OSDParser.SerializeJsonString(resp));
163
164 } 163 }
165 } 164 }
166 165
167 public class AgentPutHandler : BaseStreamHandler 166 public class AgentPutHandler : BaseStreamHandler
168 { 167 {
169 private ISimulationService m_SimulationService; 168 // TODO: unused: private ISimulationService m_SimulationService;
170 private IAuthenticationService m_AuthenticationService; 169 // TODO: unused: private IAuthenticationService m_AuthenticationService;
171 170
172 public AgentPutHandler(ISimulationService service, IAuthenticationService authentication) : 171 public AgentPutHandler(ISimulationService service, IAuthenticationService authentication) :
173 base("PUT", "/agent") 172 base("PUT", "/agent")
174 { 173 {
175 m_SimulationService = service; 174 // TODO: unused: m_SimulationService = service;
176 m_AuthenticationService = authentication; 175 // TODO: unused: m_AuthenticationService = authentication;
177 } 176 }
178 177
179 public override byte[] Handle(string path, Stream request, 178 public override byte[] Handle(string path, Stream request,
@@ -187,14 +186,14 @@ namespace OpenSim.Server.Handlers.Simulation
187 186
188 public class AgentDeleteHandler : BaseStreamHandler 187 public class AgentDeleteHandler : BaseStreamHandler
189 { 188 {
190 private ISimulationService m_SimulationService; 189 // TODO: unused: private ISimulationService m_SimulationService;
191 private IAuthenticationService m_AuthenticationService; 190 // TODO: unused: private IAuthenticationService m_AuthenticationService;
192 191
193 public AgentDeleteHandler(ISimulationService service, IAuthenticationService authentication) : 192 public AgentDeleteHandler(ISimulationService service, IAuthenticationService authentication) :
194 base("DELETE", "/agent") 193 base("DELETE", "/agent")
195 { 194 {
196 m_SimulationService = service; 195 // TODO: unused: m_SimulationService = service;
197 m_AuthenticationService = authentication; 196 // TODO: unused: m_AuthenticationService = authentication;
198 } 197 }
199 198
200 public override byte[] Handle(string path, Stream request, 199 public override byte[] Handle(string path, Stream request,
@@ -205,5 +204,4 @@ namespace OpenSim.Server.Handlers.Simulation
205 return new byte[] { }; 204 return new byte[] { };
206 } 205 }
207 } 206 }
208
209} 207}