mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Really make module port selection work. Implement port setting in
LLProxyLoginModule.
This commit is contained in:
@@ -50,8 +50,16 @@ namespace OpenSim.Client.Linden
|
||||
/// </summary>
|
||||
public class LLProxyLoginModule : ISharedRegionModule
|
||||
{
|
||||
private uint m_port = 0;
|
||||
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
public LLProxyLoginModule(uint port)
|
||||
{
|
||||
m_log.DebugFormat("[CLIENT]: LLProxyLoginModule port {0}", port);
|
||||
m_port = port;
|
||||
}
|
||||
|
||||
protected bool RegionLoginsEnabled
|
||||
{
|
||||
get
|
||||
@@ -148,8 +156,8 @@ namespace OpenSim.Client.Linden
|
||||
protected void AddHttpHandlers()
|
||||
{
|
||||
//we will add our handlers to the first scene we received, as all scenes share a http server. But will this ever change?
|
||||
MainServer.Instance.AddXmlRPCHandler("expect_user", ExpectUser, false);
|
||||
MainServer.Instance.AddXmlRPCHandler("logoff_user", LogOffUser, false);
|
||||
MainServer.GetHttpServer(m_port).AddXmlRPCHandler("expect_user", ExpectUser, false);
|
||||
MainServer.GetHttpServer(m_port).AddXmlRPCHandler("logoff_user", LogOffUser, false);
|
||||
}
|
||||
|
||||
protected void AddScene(Scene scene)
|
||||
|
||||
Reference in New Issue
Block a user