diff options
author | Dr Scofield | 2009-05-22 11:37:14 +0000 |
---|---|---|
committer | Dr Scofield | 2009-05-22 11:37:14 +0000 |
commit | ac2fe53e894a52f8caf36535560682c4ee5d0091 (patch) | |
tree | 6cbda8c186ee9342dae878eb14e8965ead8a451a /OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |
parent | Cleaning up a few HG things. HG Posts may now work in grids, but if the home ... (diff) | |
download | opensim-SC_OLD-ac2fe53e894a52f8caf36535560682c4ee5d0091.zip opensim-SC_OLD-ac2fe53e894a52f8caf36535560682c4ee5d0091.tar.gz opensim-SC_OLD-ac2fe53e894a52f8caf36535560682c4ee5d0091.tar.bz2 opensim-SC_OLD-ac2fe53e894a52f8caf36535560682c4ee5d0091.tar.xz |
adding RemoveXmlRpcHandler to IHttpServer
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index 779f577..5778214 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -1512,6 +1512,18 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
1512 | 1512 | ||
1513 | return false; | 1513 | return false; |
1514 | } | 1514 | } |
1515 | |||
1516 | public void RemoveXmlRPCHandler(string method) | ||
1517 | { | ||
1518 | lock (m_rpcHandlers) | ||
1519 | { | ||
1520 | if (m_rpcHandlers.ContainsKey(method)) | ||
1521 | { | ||
1522 | m_rpcHandlers.Remove(method); | ||
1523 | } | ||
1524 | } | ||
1525 | } | ||
1526 | |||
1515 | 1527 | ||
1516 | public bool RemoveLLSDHandler(string path, LLSDMethod handler) | 1528 | public bool RemoveLLSDHandler(string path, LLSDMethod handler) |
1517 | { | 1529 | { |