diff options
author | Justin Clarke Casey | 2008-10-03 18:06:45 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-10-03 18:06:45 +0000 |
commit | 743e336bf340f623a50bebd53d98798c04eb0345 (patch) | |
tree | d6a0055ff71d99e7c0e132bb7ae51d0922949e0c /OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs | |
parent | Cause objects to be removed from the database when they go temp or get (diff) | |
download | opensim-SC_OLD-743e336bf340f623a50bebd53d98798c04eb0345.zip opensim-SC_OLD-743e336bf340f623a50bebd53d98798c04eb0345.tar.gz opensim-SC_OLD-743e336bf340f623a50bebd53d98798c04eb0345.tar.bz2 opensim-SC_OLD-743e336bf340f623a50bebd53d98798c04eb0345.tar.xz |
* Put in some infrastructure to allow tweaking of packet queue throttle values for the total throttle (the one that throttles all packet output)
* Not complete yet
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs index 1261666..e2d2226 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs | |||
@@ -47,10 +47,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
47 | //{ | 47 | //{ |
48 | // get { return m_clientManager; } | 48 | // get { return m_clientManager; } |
49 | //} | 49 | //} |
50 | |||
51 | /// <summary> | ||
52 | /// Tweakable user settings | ||
53 | /// </summary> | ||
54 | private ClientStackUserSettings m_userSettings; | ||
50 | 55 | ||
51 | public LLPacketServer(ILLClientStackNetworkHandler networkHandler) | 56 | public LLPacketServer(ILLClientStackNetworkHandler networkHandler, ClientStackUserSettings userSettings) |
52 | { | 57 | { |
58 | m_userSettings = userSettings; | ||
53 | m_networkHandler = networkHandler; | 59 | m_networkHandler = networkHandler; |
60 | |||
54 | m_networkHandler.RegisterPacketServer(this); | 61 | m_networkHandler.RegisterPacketServer(this); |
55 | } | 62 | } |
56 | 63 | ||
@@ -90,7 +97,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
90 | UUID agentId, UUID sessionId, uint circuitCode, EndPoint proxyEP) | 97 | UUID agentId, UUID sessionId, uint circuitCode, EndPoint proxyEP) |
91 | { | 98 | { |
92 | return | 99 | return |
93 | new LLClientView(remoteEP, scene, assetCache, packServer, authenSessions, agentId, sessionId, circuitCode, proxyEP); | 100 | new LLClientView( |
101 | remoteEP, scene, assetCache, packServer, authenSessions, agentId, sessionId, circuitCode, proxyEP, | ||
102 | m_userSettings); | ||
94 | } | 103 | } |
95 | 104 | ||
96 | /// <summary> | 105 | /// <summary> |