temporary add logging message when user service successfully registers a message service
this is for http://opensimulator.org/mantis/view.php?id=43510.6.8-post-fixes
parent
e385961f20
commit
fd4924f6fa
|
@ -147,6 +147,7 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||||
MessageServers["URI"] = msginfo;
|
MessageServers["URI"] = msginfo;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RemoveResponsibleRegion(string URI, ulong regionhandle)
|
public void RemoveResponsibleRegion(string URI, ulong regionhandle)
|
||||||
{
|
{
|
||||||
if (!MessageServers.ContainsKey(URI))
|
if (!MessageServers.ContainsKey(URI))
|
||||||
|
@ -164,6 +165,7 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public XmlRpcResponse XmlRPCRegisterMessageServer(XmlRpcRequest request, IPEndPoint remoteClient)
|
public XmlRpcResponse XmlRPCRegisterMessageServer(XmlRpcRequest request, IPEndPoint remoteClient)
|
||||||
{
|
{
|
||||||
XmlRpcResponse response = new XmlRpcResponse();
|
XmlRpcResponse response = new XmlRpcResponse();
|
||||||
|
@ -182,9 +184,15 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||||
RegisterMessageServer(URI, m);
|
RegisterMessageServer(URI, m);
|
||||||
responseData["responsestring"] = "TRUE";
|
responseData["responsestring"] = "TRUE";
|
||||||
response.Value = responseData;
|
response.Value = responseData;
|
||||||
|
|
||||||
|
m_log.DebugFormat(
|
||||||
|
"[MSGSERVER]: Successfully processed message service registration request from {0}",
|
||||||
|
remoteClient.Address);
|
||||||
}
|
}
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
public XmlRpcResponse XmlRPCDeRegisterMessageServer(XmlRpcRequest request, IPEndPoint remoteClient)
|
public XmlRpcResponse XmlRPCDeRegisterMessageServer(XmlRpcRequest request, IPEndPoint remoteClient)
|
||||||
{
|
{
|
||||||
XmlRpcResponse response = new XmlRpcResponse();
|
XmlRpcResponse response = new XmlRpcResponse();
|
||||||
|
@ -510,4 +518,4 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue