mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* Converted a number of methods within the login processes from private to protected.
* Made several methods virtual to allow derivative overrides. * Minor cleanups.
This commit is contained in:
@@ -104,15 +104,9 @@ namespace OpenSim.Framework.Servers
|
||||
{
|
||||
lock (m_rpcHandlers)
|
||||
{
|
||||
if (!m_rpcHandlers.ContainsKey(method))
|
||||
{
|
||||
m_rpcHandlers.Add(method, handler);
|
||||
return true;
|
||||
}
|
||||
m_rpcHandlers[method] = handler;
|
||||
return true;
|
||||
}
|
||||
|
||||
//must already have a handler for that path so return false
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool AddHTTPHandler(string method, GenericHTTPMethod handler)
|
||||
|
||||
Reference in New Issue
Block a user