diff options
author | MW | 2007-05-31 11:28:11 +0000 |
---|---|---|
committer | MW | 2007-05-31 11:28:11 +0000 |
commit | c35d360d44b639e96e900ef0901ae534f2f6d8c6 (patch) | |
tree | cce40adc3bb871e49d7cee1508dea574aba2399c /OpenSim | |
parent | Added a few summary comments to OpenSim.World files (diff) | |
download | opensim-SC-c35d360d44b639e96e900ef0901ae534f2f6d8c6.zip opensim-SC-c35d360d44b639e96e900ef0901ae534f2f6d8c6.tar.gz opensim-SC-c35d360d44b639e96e900ef0901ae534f2f6d8c6.tar.bz2 opensim-SC-c35d360d44b639e96e900ef0901ae534f2f6d8c6.tar.xz |
Started work on OpenGrid.Framework.Communications
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/AuthenticateSessionsBase.cs | 4 | ||||
-rw-r--r-- | OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs | 1 | ||||
-rw-r--r-- | OpenSim/OpenSim.RegionServer/AuthenticateSessionsRemote.cs | 1 | ||||
-rw-r--r-- | OpenSim/OpenSim.RegionServer/PacketServer.cs | 1 | ||||
-rw-r--r-- | OpenSim/OpenSim.RegionServer/RegionServerBase.cs | 1 | ||||
-rw-r--r-- | OpenSim/OpenSim.RegionServer/UDPServer.cs | 1 | ||||
-rw-r--r-- | OpenSim/OpenSim.World/World.cs | 5 | ||||
-rw-r--r-- | OpenSim/OpenSim/OpenSimMain.cs | 3 |
8 files changed, 13 insertions, 4 deletions
diff --git a/OpenSim/OpenSim.RegionServer/AuthenticateSessionsBase.cs b/OpenSim/OpenSim.RegionServer/AuthenticateSessionsBase.cs index 99b86d4..a97ecdf 100644 --- a/OpenSim/OpenSim.RegionServer/AuthenticateSessionsBase.cs +++ b/OpenSim/OpenSim.RegionServer/AuthenticateSessionsBase.cs | |||
@@ -7,7 +7,7 @@ using OpenSim.Framework.Types; | |||
7 | 7 | ||
8 | namespace OpenSim | 8 | namespace OpenSim |
9 | { | 9 | { |
10 | public class AuthenticateSessionsBase | 10 | /* public class AuthenticateSessionsBase |
11 | { | 11 | { |
12 | public Dictionary<uint, AgentCircuitData> AgentCircuits = new Dictionary<uint, AgentCircuitData>(); | 12 | public Dictionary<uint, AgentCircuitData> AgentCircuits = new Dictionary<uint, AgentCircuitData>(); |
13 | 13 | ||
@@ -101,5 +101,5 @@ namespace OpenSim | |||
101 | } | 101 | } |
102 | return false; | 102 | return false; |
103 | } | 103 | } |
104 | } | 104 | }*/ |
105 | } | 105 | } |
diff --git a/OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs b/OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs index 6c1c7d2..91772f8 100644 --- a/OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs +++ b/OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs | |||
@@ -3,6 +3,7 @@ using System.Collections.Generic; | |||
3 | using System.Text; | 3 | using System.Text; |
4 | using libsecondlife; | 4 | using libsecondlife; |
5 | using OpenSim.Framework.Types; | 5 | using OpenSim.Framework.Types; |
6 | using OpenSim.Framework; | ||
6 | 7 | ||
7 | namespace OpenSim | 8 | namespace OpenSim |
8 | { | 9 | { |
diff --git a/OpenSim/OpenSim.RegionServer/AuthenticateSessionsRemote.cs b/OpenSim/OpenSim.RegionServer/AuthenticateSessionsRemote.cs index 0802d75..80cd9d3 100644 --- a/OpenSim/OpenSim.RegionServer/AuthenticateSessionsRemote.cs +++ b/OpenSim/OpenSim.RegionServer/AuthenticateSessionsRemote.cs | |||
@@ -5,6 +5,7 @@ using System.Text; | |||
5 | using System.Xml; | 5 | using System.Xml; |
6 | using libsecondlife; | 6 | using libsecondlife; |
7 | using OpenSim.Framework.Types; | 7 | using OpenSim.Framework.Types; |
8 | using OpenSim.Framework; | ||
8 | using Nwc.XmlRpc; | 9 | using Nwc.XmlRpc; |
9 | 10 | ||
10 | namespace OpenSim | 11 | namespace OpenSim |
diff --git a/OpenSim/OpenSim.RegionServer/PacketServer.cs b/OpenSim/OpenSim.RegionServer/PacketServer.cs index d40de47..0ab4a8d 100644 --- a/OpenSim/OpenSim.RegionServer/PacketServer.cs +++ b/OpenSim/OpenSim.RegionServer/PacketServer.cs | |||
@@ -3,6 +3,7 @@ using System.Collections.Generic; | |||
3 | using System.Text; | 3 | using System.Text; |
4 | using libsecondlife.Packets; | 4 | using libsecondlife.Packets; |
5 | using OpenSim.Framework.Interfaces; | 5 | using OpenSim.Framework.Interfaces; |
6 | using OpenSim.Framework; | ||
6 | using System.Net; | 7 | using System.Net; |
7 | using System.Net.Sockets; | 8 | using System.Net.Sockets; |
8 | using OpenSim.Assets; | 9 | using OpenSim.Assets; |
diff --git a/OpenSim/OpenSim.RegionServer/RegionServerBase.cs b/OpenSim/OpenSim.RegionServer/RegionServerBase.cs index 3b9c6e0..b7129c5 100644 --- a/OpenSim/OpenSim.RegionServer/RegionServerBase.cs +++ b/OpenSim/OpenSim.RegionServer/RegionServerBase.cs | |||
@@ -13,6 +13,7 @@ using libsecondlife.Packets; | |||
13 | using OpenSim.Terrain; | 13 | using OpenSim.Terrain; |
14 | using OpenSim.Framework.Interfaces; | 14 | using OpenSim.Framework.Interfaces; |
15 | using OpenSim.Framework.Types; | 15 | using OpenSim.Framework.Types; |
16 | using OpenSim.Framework; | ||
16 | using OpenSim.UserServer; | 17 | using OpenSim.UserServer; |
17 | using OpenSim.Assets; | 18 | using OpenSim.Assets; |
18 | using OpenSim.CAPS; | 19 | using OpenSim.CAPS; |
diff --git a/OpenSim/OpenSim.RegionServer/UDPServer.cs b/OpenSim/OpenSim.RegionServer/UDPServer.cs index 8ec5af1..5d8c1d8 100644 --- a/OpenSim/OpenSim.RegionServer/UDPServer.cs +++ b/OpenSim/OpenSim.RegionServer/UDPServer.cs | |||
@@ -17,6 +17,7 @@ using OpenSim.UserServer; | |||
17 | using OpenSim.Assets; | 17 | using OpenSim.Assets; |
18 | using OpenSim.CAPS; | 18 | using OpenSim.CAPS; |
19 | using OpenSim.Framework.Console; | 19 | using OpenSim.Framework.Console; |
20 | using OpenSim.Framework; | ||
20 | using Nwc.XmlRpc; | 21 | using Nwc.XmlRpc; |
21 | using OpenSim.Servers; | 22 | using OpenSim.Servers; |
22 | using OpenSim.GenericConfig; | 23 | using OpenSim.GenericConfig; |
diff --git a/OpenSim/OpenSim.World/World.cs b/OpenSim/OpenSim.World/World.cs index 77af862..c731dbc 100644 --- a/OpenSim/OpenSim.World/World.cs +++ b/OpenSim/OpenSim.World/World.cs | |||
@@ -11,6 +11,7 @@ using OpenSim.Physics.Manager; | |||
11 | using OpenSim.Framework.Interfaces; | 11 | using OpenSim.Framework.Interfaces; |
12 | using OpenSim.Framework.Types; | 12 | using OpenSim.Framework.Types; |
13 | using OpenSim.Framework.Inventory; | 13 | using OpenSim.Framework.Inventory; |
14 | using OpenSim.Framework; | ||
14 | using OpenSim.RegionServer.world.scripting; | 15 | using OpenSim.RegionServer.world.scripting; |
15 | using OpenSim.Terrain; | 16 | using OpenSim.Terrain; |
16 | 17 | ||
@@ -34,6 +35,7 @@ namespace OpenSim.world | |||
34 | private Dictionary<string, ScriptFactory> m_scripts; | 35 | private Dictionary<string, ScriptFactory> m_scripts; |
35 | private Mutex updateLock; | 36 | private Mutex updateLock; |
36 | public string m_datastore; | 37 | public string m_datastore; |
38 | protected AuthenticateSessionsBase authenticateHandler; | ||
37 | 39 | ||
38 | #region Properties | 40 | #region Properties |
39 | /// <summary> | 41 | /// <summary> |
@@ -59,11 +61,12 @@ namespace OpenSim.world | |||
59 | /// <param name="clientThreads">Dictionary to contain client threads</param> | 61 | /// <param name="clientThreads">Dictionary to contain client threads</param> |
60 | /// <param name="regionHandle">Region Handle for this region</param> | 62 | /// <param name="regionHandle">Region Handle for this region</param> |
61 | /// <param name="regionName">Region Name for this region</param> | 63 | /// <param name="regionName">Region Name for this region</param> |
62 | public World(Dictionary<uint, IClientAPI> clientThreads, RegionInfo regInfo) | 64 | public World(Dictionary<uint, IClientAPI> clientThreads, RegionInfo regInfo, AuthenticateSessionsBase authen) |
63 | { | 65 | { |
64 | try | 66 | try |
65 | { | 67 | { |
66 | updateLock = new Mutex(false); | 68 | updateLock = new Mutex(false); |
69 | this.authenticateHandler = authen; | ||
67 | m_clientThreads = clientThreads; | 70 | m_clientThreads = clientThreads; |
68 | m_regInfo = regInfo; | 71 | m_regInfo = regInfo; |
69 | m_regionHandle = m_regInfo.RegionHandle; | 72 | m_regionHandle = m_regInfo.RegionHandle; |
diff --git a/OpenSim/OpenSim/OpenSimMain.cs b/OpenSim/OpenSim/OpenSimMain.cs index 0a30928..95b8e10 100644 --- a/OpenSim/OpenSim/OpenSimMain.cs +++ b/OpenSim/OpenSim/OpenSimMain.cs | |||
@@ -42,6 +42,7 @@ using OpenSim.world; | |||
42 | using OpenSim.Terrain; | 42 | using OpenSim.Terrain; |
43 | using OpenSim.Framework.Interfaces; | 43 | using OpenSim.Framework.Interfaces; |
44 | using OpenSim.Framework.Types; | 44 | using OpenSim.Framework.Types; |
45 | using OpenSim.Framework; | ||
45 | using OpenSim.UserServer; | 46 | using OpenSim.UserServer; |
46 | using OpenSim.Assets; | 47 | using OpenSim.Assets; |
47 | using OpenSim.CAPS; | 48 | using OpenSim.CAPS; |
@@ -233,7 +234,7 @@ namespace OpenSim | |||
233 | m_console.componentname = "Region " + regionData.RegionName; | 234 | m_console.componentname = "Region " + regionData.RegionName; |
234 | */ | 235 | */ |
235 | 236 | ||
236 | LocalWorld = new World(udpServer.PacketServer.ClientAPIs, regionDat); | 237 | LocalWorld = new World(udpServer.PacketServer.ClientAPIs, regionDat, authenBase); |
237 | this.m_localWorld.Add(LocalWorld); | 238 | this.m_localWorld.Add(LocalWorld); |
238 | //LocalWorld.InventoryCache = InventoryCache; | 239 | //LocalWorld.InventoryCache = InventoryCache; |
239 | //LocalWorld.AssetCache = AssetCache; | 240 | //LocalWorld.AssetCache = AssetCache; |