aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/PacketServer.cs
diff options
context:
space:
mode:
authorlbsa712007-12-15 12:19:29 +0000
committerlbsa712007-12-15 12:19:29 +0000
commit653a41fa03765727e3b48d4862547ea02ac4f9ee (patch)
tree50e235e7b67ece210e6f3e52151b14680a6779c7 /OpenSim/Region/ClientStack/PacketServer.cs
parent* Added an Avatar control tweak that disables the PID controller in certain c... (diff)
downloadopensim-SC_OLD-653a41fa03765727e3b48d4862547ea02ac4f9ee.zip
opensim-SC_OLD-653a41fa03765727e3b48d4862547ea02ac4f9ee.tar.gz
opensim-SC_OLD-653a41fa03765727e3b48d4862547ea02ac4f9ee.tar.bz2
opensim-SC_OLD-653a41fa03765727e3b48d4862547ea02ac4f9ee.tar.xz
* some work on not storing the circuitPack (bad thing if we're going to reuse packets)
* some work on encapsulation, code convention compliance and beautification. * also, some ignores
Diffstat (limited to 'OpenSim/Region/ClientStack/PacketServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/PacketServer.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/PacketServer.cs b/OpenSim/Region/ClientStack/PacketServer.cs
index 945bb82..39c3d32 100644
--- a/OpenSim/Region/ClientStack/PacketServer.cs
+++ b/OpenSim/Region/ClientStack/PacketServer.cs
@@ -27,6 +27,7 @@
27*/ 27*/
28using System.Net; 28using System.Net;
29using System.Net.Sockets; 29using System.Net.Sockets;
30using libsecondlife;
30using libsecondlife.Packets; 31using libsecondlife.Packets;
31using OpenSim.Framework; 32using OpenSim.Framework;
32using OpenSim.Framework.Communications.Cache; 33using OpenSim.Framework.Communications.Cache;
@@ -67,10 +68,10 @@ namespace OpenSim.Region.ClientStack
67 68
68 protected virtual IClientAPI CreateNewClient(EndPoint remoteEP, UseCircuitCodePacket initialcirpack, 69 protected virtual IClientAPI CreateNewClient(EndPoint remoteEP, UseCircuitCodePacket initialcirpack,
69 ClientManager clientManager, IScene scene, AssetCache assetCache, 70 ClientManager clientManager, IScene scene, AssetCache assetCache,
70 PacketServer packServer, AgentCircuitManager authenSessions) 71 PacketServer packServer, AgentCircuitManager authenSessions, LLUUID agentId, LLUUID sessionId, uint circuitCode)
71 { 72 {
72 return 73 return
73 new ClientView(remoteEP, initialcirpack, clientManager, scene, assetCache, packServer, authenSessions); 74 new ClientView(remoteEP, scene, assetCache, packServer, authenSessions, agentId, sessionId, circuitCode );
74 } 75 }
75 76
76 public virtual bool AddNewClient(EndPoint epSender, UseCircuitCodePacket useCircuit, AssetCache assetCache, 77 public virtual bool AddNewClient(EndPoint epSender, UseCircuitCodePacket useCircuit, AssetCache assetCache,
@@ -85,7 +86,7 @@ namespace OpenSim.Region.ClientStack
85 else 86 else
86 { 87 {
87 newuser = CreateNewClient(epSender, useCircuit, m_scene.ClientManager, m_scene, assetCache, this, 88 newuser = CreateNewClient(epSender, useCircuit, m_scene.ClientManager, m_scene, assetCache, this,
88 authenticateSessionsClass); 89 authenticateSessionsClass, useCircuit.CircuitCode.ID, useCircuit.CircuitCode.SessionID, useCircuit.CircuitCode.Code);
89 90
90 m_scene.ClientManager.Add(useCircuit.CircuitCode.Code, newuser); 91 m_scene.ClientManager.Add(useCircuit.CircuitCode.Code, newuser);
91 92